copyWith method
BackendRequestEntity
copyWith(
{ - String? documentID,
- String? description,
- String? appId,
- String? authorId,
- String? name,
- String? sendTo,
- List<Map<String, String>>? collections,
- bool? processed,
- int? requestType,
})
Implementation
BackendRequestEntity copyWith({
String? documentID,
String? description,
String? appId,
String? authorId,
String? name,
String? sendTo,
List<Map<String, String>>? collections,
bool? processed,
int? requestType,
}) {
return BackendRequestEntity(
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,
);
}