copyWith method

AdelaySettings copyWith({
  1. bool? enabled,
  2. bool? all,
  3. String? delays,
})

Returns a copy of this AdelaySettings with the given fields replaced.

Implementation

AdelaySettings copyWith({
  bool? enabled,
  bool? all,
  String? delays,
}) =>
    AdelaySettings(
      enabled: enabled ?? this.enabled,
      all: all ?? this.all,
      delays: delays ?? this.delays,
    );