allowNavigationRequest method

  1. @override
Future<void> allowNavigationRequest(
  1. int webviewId,
  2. int requestId,
  3. bool isAllowed
)
override

Implementation

@override
Future<void> allowNavigationRequest(
  int webviewId,
  int requestId,
  bool isAllowed,
) async {
  return await methodChannel.invokeMethod<void>('allowNavigationRequest', {
    "webviewId": webviewId,
    "requestId": requestId,
    "isAllowed": isAllowed,
  });
}