copyWith method

NotificationsItems copyWith({
  1. String? notificationId,
  2. String? idRedirect,
  3. String? contentType,
  4. String? title,
  5. String? message,
  6. String? image,
  7. String? deviceType,
  8. CreatedAtDateTime? createdAtDateTime,
})

Implementation

NotificationsItems copyWith({  String? notificationId,
  String? idRedirect,
  String? contentType,
  String? title,
  String? message,
  String? image,
  String? deviceType,
  CreatedAtDateTime? createdAtDateTime,
}) => NotificationsItems(  notificationId: notificationId ?? _notificationId,
  idRedirect : idRedirect ?? _idRedirect,
  contentType: contentType ?? _contentType,
  title: title ?? _title,
  message: message ?? _message,
  image: image ?? _image,
  deviceType: deviceType ?? _deviceType,
  createdAtDateTime: createdAtDateTime ?? _createdAtDateTime,
);