setMethodCallHandler method

void setMethodCallHandler(
  1. Future handler(
    1. MethodCall call
    )?
)

Register a handler on this channel. Used by VodEventDispatcher during init.

Implementation

void setMethodCallHandler(Future<dynamic> Function(MethodCall call)? handler) {
  _channel.setMethodCallHandler(handler);
}