copyWith method
Implementation
AddressNumber copyWith({
String? number,
Optional<String?>? fiasCode
}) {
return AddressNumber(
number: number ?? this.number,
fiasCode: fiasCode != null ? fiasCode.value : this.fiasCode
);
}
AddressNumber copyWith({
String? number,
Optional<String?>? fiasCode
}) {
return AddressNumber(
number: number ?? this.number,
fiasCode: fiasCode != null ? fiasCode.value : this.fiasCode
);
}