copyWith method
Implementation
TimeZone copyWith({
String? name,
int? offset,
DateTime? currentTime,
bool? isDst,
int? dstSavings,
}) {
return TimeZone(
name: name ?? this.name,
offset: offset ?? this.offset,
currentTime: currentTime ?? this.currentTime,
isDst: isDst ?? this.isDst,
dstSavings: dstSavings ?? this.dstSavings,
);
}