openPlatformApp abstract method
Opens a platform-specific app.
On iOS, opens the app specified by iosAppId (bundle identifier).
You can pass an AppleApp enum for common iOS apps, or a custom app ID string.
Example with enums:
await $.platform.openPlatformApp(
iosAppId: AppleApp.safari,
);
Example with custom app IDs:
await $.platform.openPlatformApp(
iosAppId: 'com.mycompany.myapp',
);
Implementation
Future<void> openPlatformApp({required Object iosAppId});