setMethodCallHandler method

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

Implementation

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