copyWith method

AssignmentViewEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? title,
  4. String? description,
  5. StorageConditionsEntity? conditions,
})

Implementation

AssignmentViewEntity copyWith({
  String? documentID,
  String? appId,
  String? title,
  String? description,
  StorageConditionsEntity? conditions,
}) {
  return AssignmentViewEntity(
    appId: appId ?? this.appId,
    title: title ?? this.title,
    description: description ?? this.description,
    conditions: conditions ?? this.conditions,
  );
}