copyWith method

NotificationSendV3Body copyWith({
  1. List<String>? tags,
  2. String? message,
  3. String? type,
  4. Map<String, dynamic>? data,
  5. PlatformDTO? platform,
})

Implementation

NotificationSendV3Body copyWith(
    {List<String>? tags,
    String? message,
    String? type,
    Map<String, dynamic>? data,
    enums.PlatformDTO? platform}) {
  return NotificationSendV3Body(
      tags: tags ?? this.tags,
      message: message ?? this.message,
      type: type ?? this.type,
      data: data ?? this.data,
      platform: platform ?? this.platform);
}