handleMethodCall method

Future handleMethodCall(
  1. MethodCall call
)

Implementation

Future<dynamic> handleMethodCall(MethodCall call) async {
  if (call.method == 'getInfo') {
    return _buildInfo();
  }

  throw MissingPluginException('No implementation found for ${call.method}');
}