setMethodCallHandler static method
Implementation
static void setMethodCallHandler({required Function(WTEventResponse eventResponse) onReceivedEvent}) {
_onReceivedEvent = onReceivedEvent;
_channel.setMethodCallHandler(_wtEvent);
}
static void setMethodCallHandler({required Function(WTEventResponse eventResponse) onReceivedEvent}) {
_onReceivedEvent = onReceivedEvent;
_channel.setMethodCallHandler(_wtEvent);
}