handleMethodCall method

Future handleMethodCall(
  1. MethodCall call
)

Implementation

Future<dynamic> handleMethodCall(MethodCall call) async {
  switch (call.method) {
    case 'setWebReturnValue':
      _returnValue = call.arguments;
      break;
    default:
      throw PlatformException(
        code: 'Unimplemented',
        details: 'flutter_hi for web doesn\'t implement \'${call.method}\'',
      );
  }
}