copyWith method
Implementation
Town copyWith({
required int id,
required String name,
required Town? region,
required Country? country,
}) =>
Town(
id: id,
name: name,
region: region ?? this.region,
country: country ?? this.country,
);