copyWith method Null safety

Condition copyWith(
  1. {int? breakpoint,
  2. String? name,
  3. Conditional? condition,
  4. T? value,
  5. T? landscapeValue}
)

Implementation

Condition copyWith({
  int? breakpoint,
  String? name,
  Conditional? condition,
  T? value,
  T? landscapeValue,
}) =>
    Condition._(
      breakpoint: breakpoint ?? this.breakpoint,
      name: name ?? this.name,
      condition: condition ?? this.condition,
      value: value ?? this.value,
      landscapeValue: landscapeValue ?? this.value,
    );