copyWith method
Implementation
Classroom copyWith({
int? id,
Value<DateTime?> fetchedAt = const Value.absent(),
String? code,
String? nameZh,
}) => Classroom(
id: id ?? this.id,
fetchedAt: fetchedAt.present ? fetchedAt.value : this.fetchedAt,
code: code ?? this.code,
nameZh: nameZh ?? this.nameZh,
);