copyWith method
Creates a copy of the Address instance and allows for non-destructive mutation.
Implementation
Address copyWith({
String? use,
String? type,
String? text,
FixedList<String>? line,
String? city,
String? district,
String? state,
String? postalCode,
String? country,
Period? period,
}) =>
Address(
use: use ?? this.use,
type: type ?? this.type,
text: text ?? this.text,
line: line ?? this.line,
city: city ?? this.city,
district: district ?? this.district,
state: state ?? this.state,
postalCode: postalCode ?? this.postalCode,
country: country ?? this.country,
period: period ?? this.period,
);