copyWith method

WebpushNotification copyWith({
  1. String? title,
  2. String? body,
  3. String? icon,
})

Implementation

WebpushNotification copyWith({
  String? title,
  String? body,
  String? icon,
}) =>
    WebpushNotification(
      title: title ?? this.title,
      body: body ?? this.body,
      icon: icon ?? this.icon,
    );