handleMethodCall method

  1. @visibleForTesting
Future handleMethodCall(
  1. MethodCall call
)

Callback used to process incoming method calls from the native method channel.

Implementation

@visibleForTesting
Future<dynamic> handleMethodCall(MethodCall call) async {
  switch (call.method) {
    default:
      logInternalError(
        'Embrace MethodChannel received unknown MethodCall from host SDK.',
        call.method,
      );
      break;
  }
}