copyWith method

Aps copyWith({
  1. Alert? alert,
  2. int? badge,
  3. String? sound,
})

Implementation

Aps copyWith({
  Alert? alert,
  int? badge,
  String? sound,
}) =>
    Aps(
      alert: alert ?? this.alert,
      badge: badge ?? this.badge,
      sound: sound ?? this.sound,
    );