launchStore method

Future<LaunchStoreResult> launchStore()

Launches the corresponding store.

Implementation

Future<LaunchStoreResult> launchStore() async {
  int? result = await _channel.invokeMethod<int>('launchStore',
      storeIdentifier == null ? null : {'appId': storeIdentifier});
  return LaunchStoreResult.values.firstWhere((value) => value.index == result, orElse: () => LaunchStoreResult.errorOccurred);
}