copyWith method
Implementation
Message copyWith({
String? token,
String? topic,
String? condition,
MessageNotification? notification,
Map<String, dynamic>? data,
Android? android,
Apns? apns,
Webpush? webpush,
}) =>
Message(
token: token ?? this.token,
topic: topic ?? this.topic,
condition: condition ?? this.condition,
notification: notification ?? this.notification,
data: data ?? this.data,
android: android ?? this.android,
apns: apns ?? this.apns,
webpush: webpush ?? this.webpush,
);