PlatformUtil constructor

PlatformUtil({
  1. required BinaryMessenger messenger,
})

Implementation

PlatformUtil({required BinaryMessenger messenger}) {
  this._messenger = messenger;

  channel = MethodChannel(
    'com.pichillilorenzo/flutter_inappwebview_platformutil',
    const StandardMethodCodec(),
    _messenger,
  );
  handler = _handleMethod;
  initMethodCallHandler();
}