fromMap static method
Implementation
static BackendRequestEntity? fromMap(Object? o,
{Map<String, String>? newDocumentIds}) {
if (o == null) return null;
var map = o as Map<String, dynamic>;
var collectionsFromMap = map['collections'];
if (collectionsFromMap != null) {
collectionsFromMap = map['collections'];
}
return BackendRequestEntity(
description: map['description'],
appId: map['appId'],
authorId: map['authorId'],
name: map['name'],
sendTo: map['sendTo'],
collections: collectionsFromMap,
processed: map['processed'],
requestType: map['requestType'],
);
}