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