toEntity method

  1. @override
BackendRequestEntity toEntity({
  1. String? appId,
})
override

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,
  );
}