subscribe static method

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

Implementation

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