hostedAuthStart method

  1. @override
Future<void> hostedAuthStart()
override

Implementation

@override
Future<void> hostedAuthStart() async {
  if (Platform.isIOS) {
    throw PassageError(
        code: PassageErrorCode.hostedAuthStart,
        message: 'Not supported on iOS. Use hostedAuthIOS instead.');
  }
  try {
    await methodChannel.invokeMethod<String>('hostedAuthStart');
  } catch (e) {
    throw PassageError.fromObject(object: e);
  }
}