copyWith method

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

Implementation

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