copyWith method

RegisterNotificationV3Body copyWith({
  1. String? deviceId,
  2. String? deviceDescription,
  3. PlatformDTO? platform,
  4. String? token,
  5. bool? sendPushNotifications,
})

Implementation

RegisterNotificationV3Body copyWith(
    {String? deviceId,
    String? deviceDescription,
    enums.PlatformDTO? platform,
    String? token,
    bool? sendPushNotifications}) {
  return RegisterNotificationV3Body(
      deviceId: deviceId ?? this.deviceId,
      deviceDescription: deviceDescription ?? this.deviceDescription,
      platform: platform ?? this.platform,
      token: token ?? this.token,
      sendPushNotifications:
          sendPushNotifications ?? this.sendPushNotifications);
}