fromEntity static method
Implementation
static Future<BlockingDashboardModel?> fromEntity(
String documentID, BlockingDashboardEntity? entity) async {
if (entity == null) return null;
return BlockingDashboardModel(
documentID: documentID,
appId: entity.appId ?? '',
description: entity.description,
conditions: await StorageConditionsModel.fromEntity(entity.conditions),
);
}