handleMethodCall method

Future handleMethodCall(
  1. MethodCall call
)

Implementation

Future<dynamic> handleMethodCall(MethodCall call) async {
  switch (call.method) {
    case 'getInformation':
      return getInformation();
    default:
      throw PlatformException(
        code: 'Unimplemented',
        details:
            'client_information for web doesn\'t implement \'${call.method}\'',
      );
  }
}