copyWith method
BackendRequestModel
copyWith({
- String? documentID,
- String? description,
- String? appId,
- String? authorId,
- String? name,
- String? sendTo,
- List<
Map< ? collections,String, String> > - bool? processed,
- RequestType? requestType,
override
Implementation
@override
BackendRequestModel copyWith({
String? documentID,
String? description,
String? appId,
String? authorId,
String? name,
String? sendTo,
List<Map<String, String>>? collections,
bool? processed,
RequestType? requestType,
}) {
return BackendRequestModel(
documentID: documentID ?? this.documentID,
description: description ?? this.description,
appId: appId ?? this.appId,
authorId: authorId ?? this.authorId,
name: name ?? this.name,
sendTo: sendTo ?? this.sendTo,
collections: collections ?? this.collections,
processed: processed ?? this.processed,
requestType: requestType ?? this.requestType,
);
}