MethodChannelNativeBridge constructor

MethodChannelNativeBridge({
  1. MethodChannel? methodChannel,
  2. EventChannel? eventChannel,
})

Implementation

MethodChannelNativeBridge({
  MethodChannel? methodChannel,
  EventChannel? eventChannel,
})  : _methods = methodChannel ?? const MethodChannel('taqlyn_sdk'),
      _events = eventChannel ?? const EventChannel('taqlyn_sdk/links');