fromEntity static method
Implementation
static Future<ActionModel> fromEntity(
AppModel app, GotoPageEntity entity) async {
if (entity.appID == null) throw Exception('entity GotoPage.appID is null');
if (entity.pageID == null) {
throw Exception('entity GotoPage.pageID is null');
}
return GotoPage(app,
conditions: await DisplayConditionsModel.fromEntity(entity.conditions),
pageID: entity.pageID!);
}