copyWith method

MessageNotification copyWith({
  1. String? title,
  2. String? body,
  3. String? image,
  4. String? androidChannelId,
})

Implementation

MessageNotification copyWith({
  String? title,
  String? body,
  String? image,
  String? androidChannelId,
}) =>
    MessageNotification(
      title: title ?? this.title,
      body: body ?? this.body,
      image: image ?? this.image,
      androidChannelId: androidChannelId ?? this.androidChannelId,
    );