bindMethods method

void bindMethods()

Implementation

void bindMethods() {
  _methodChannel?.setMethodCallHandler((call) {
    var method = call.method;
    var callMethod = _methodMap[method];
    if (callMethod != null) {
      callMethod(call.arguments);
    }
    return Future.value(null);
  });
}