copyWith method

NotificationInfo copyWith({
  1. int? notificationInfoSid,
  2. String? userid,
  3. String? fcmtoken,
  4. String? mobileDevice,
})

Implementation

NotificationInfo copyWith(
    {int? notificationInfoSid,
    String? userid,
    String? fcmtoken,
    String? mobileDevice}) {
  return NotificationInfo(
      notificationInfoSid: notificationInfoSid ?? this.notificationInfoSid,
      userid: userid ?? this.userid,
      fcmtoken: fcmtoken ?? this.fcmtoken,
      mobileDevice: mobileDevice ?? this.mobileDevice);
}