copyWith method

TimeZone copyWith({
  1. String? tzId,
  2. List<TimeZoneTransition>? transitions,
})

Implementation

TimeZone copyWith({
  String? tzId,
  List<TimeZoneTransition>? transitions,
}) {
  return TimeZone(
    tzId: tzId ?? this.tzId,
    transitions: transitions ?? this.transitions,
  );
}