loadOnline method
FR-APP-ONLINE-001~005 — Returns a source-kind-labelled
ApplicationDefinition that converges with the Local Bundle path
emitted by BundleApplicationAdapter.
Implementation
Future<ApplicationDefinition> loadOnline(
Client client, {
required String serverId,
}) async {
final json = await load(client);
return ApplicationDefinition(
json: json,
pageLoader: pageLoaderFor(client),
sourceKind: ApplicationSourceKind.online,
appId: serverId,
);
}