copyWith method
Implementation
Province copyWith({
String? name,
String? nepali,
int? id,
List<District>? district,
}) {
return Province(
name: name ?? this.name,
nepali: nepali ?? this.nepali,
id: id ?? this.id,
district: district ?? this.district,
);
}