assertUiEntry method
FR-APP-LOCAL-003
Implementation
void assertUiEntry(BundleEntryPoint entry, {required String bundleId}) {
if (entry.type != BundleEntryType.ui) {
throw BundleAdaptException(
bundleId: bundleId,
reason: BundleAdaptReason.unsupportedEntryPoint,
message:
'AppPlayer openAppFromBundle supports ui.* entries only — got $entry',
);
}
}