copyWith method

Android copyWith({
  1. AndroidPriority? priority,
  2. double? secondsToShow,
  3. AndroidNotification? notification,
  4. AndroidFcmOptions? fcmOptions,
})

Implementation

Android copyWith({
  AndroidPriority? priority,
  double? secondsToShow,
  AndroidNotification? notification,
  AndroidFcmOptions? fcmOptions,
}) =>
    Android(
      priority: priority ?? this.priority,
      secondsToShow: secondsToShow ?? this.secondsToShow,
      notification: notification ?? this.notification,
      fcmOptions: fcmOptions ?? this.fcmOptions,
    );