handleMethodCall method

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

Handles method calls from the native platform.

This method is visible for testing purposes only. In production code, _handleMethodCall is used directly by the method channel.

Returns a Future that completes with the result of handling the method call. The result will be true if the operation was handled, false otherwise.

Implementation

@visibleForTesting
Future<dynamic> handleMethodCall(MethodCall call) {
  return _handleMethodCall(call);
}