setMethodHandler method

void setMethodHandler(
  1. Future handler(
    1. MethodCall call
    )
)

Implementation

void setMethodHandler(Future<dynamic> Function(MethodCall call) handler) {}