PlatformUtil constructor

PlatformUtil({
  1. required BinaryMessenger messenger,
})

Implementation

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

  channel = MethodChannel(
    'wtf.zikzak/zikzak_inappwebview_platformutil',
    const StandardMethodCodec(),
    _messenger,
  );
  handler = _handleMethod;
  initMethodCallHandler();
}