fromMap static method
Implementation
static PolicyPresentationEntity? fromMap(Object? o,
{Map<String, String>? newDocumentIds}) {
if (o == null) return null;
var map = o as Map<String, dynamic>;
var conditionsFromMap = map['conditions'];
if (conditionsFromMap != null) {
conditionsFromMap = StorageConditionsEntity.fromMap(conditionsFromMap,
newDocumentIds: newDocumentIds);
}
return PolicyPresentationEntity(
appId: map['appId'],
description: map['description'],
policiesId: map['policiesId'],
conditions: conditionsFromMap,
);
}