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