copyWith method

  1. @override
NotificationDashboardModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. StorageConditionsModel? conditions,
})
override

Implementation

@override
NotificationDashboardModel copyWith({
  String? documentID,
  String? appId,
  String? description,
  StorageConditionsModel? conditions,
}) {
  return NotificationDashboardModel(
    documentID: documentID ?? this.documentID,
    appId: appId ?? this.appId,
    description: description ?? this.description,
    conditions: conditions ?? this.conditions,
  );
}