handleMethodCall method

Future handleMethodCall(
  1. MethodCall call
)

Implementation

Future<dynamic> handleMethodCall(MethodCall call) async {
  switch (call.method) {
    case 'listenForCode':
      return _listenForCode();
    case 'requestPhoneHint':
    case 'unregisterListener':
      return null;
    case 'getAppSignature':
      return '';
    default:
      throw PlatformException(
        code: 'Unimplemented',
        details: 'sms_autofill_plus for web doesn\'t implement \'${call.method}\'',
      );
  }
}