handleMethodCall method

  1. @visibleForTesting
Future<void> handleMethodCall(
  1. MethodCall call
)

Implementation

@visibleForTesting
Future<void> handleMethodCall(MethodCall call) async {
  switch (call.method) {
    case 'onClickOutside':
      _clickOutsideController.add(null);
      return;
    default:
      throw MissingPluginException('No handler for ${call.method}');
  }
}