initWebViewParams method

Future<bool> initWebViewParams(
  1. MSALWebviewParameters webviewParameters
)

this is ios only you need to set web param before acquireing token the client

Implementation

Future<bool> initWebViewParams(
    MSALWebviewParameters webviewParameters) async {
  try {
    if (Platform.isAndroid) {
      return true;
    }
    final result = await _channel.invokeMethod<bool>(
        'initWebViewParams', webviewParameters.toMap());
    return result ?? false;
  } on PlatformException catch (e) {
    throw _convertException(e);
  }
}