toEntity method
Implementation
@override
BackendRequestEntity toEntity({String? appId}) {
return BackendRequestEntity(
description: (description != null) ? description : null,
appId: appId,
authorId: (authorId != null) ? authorId : null,
name: (name != null) ? name : null,
sendTo: (sendTo != null) ? sendTo : null,
collections: collections,
processed: (processed != null) ? processed : null,
requestType: (requestType != null) ? requestType!.index : null,
);
}