copyWith method
AssignmentViewModel
copyWith({
- String? documentID,
- String? appId,
- String? title,
- String? description,
- 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,
);
}