copyWith method

TimezoneModel copyWith({
  1. String? value,
  2. String? abbr,
  3. double? offset,
  4. bool? isdst,
  5. String? text,
  6. List<String>? utc,
})

Implementation

TimezoneModel copyWith({
  String? value,
  String? abbr,
  double? offset,
  bool? isdst,
  String? text,
  List<String>? utc,
}) =>
    TimezoneModel(
      value: value ?? this.value,
      abbr: abbr ?? this.abbr,
      offset: offset ?? this.offset,
      isdst: isdst ?? this.isdst,
      text: text ?? this.text,
      utc: utc ?? this.utc,
    );