fromMap static method
Implementation
static AccessEntity? fromMap(Object? o,
{Map<String, String>? newDocumentIds}) {
if (o == null) return null;
var map = o as Map<String, dynamic>;
return AccessEntity(
appId: map['appId'],
privilegeLevel: map['privilegeLevel'],
points: int.tryParse(map['points'].toString()),
blocked: map['blocked'],
privilegeLevelBeforeBlocked: map['privilegeLevelBeforeBlocked'],
);
}