requestWith method

  1. @override
Future<String?> requestWith(
  1. String tpn
)
override

Implementation

@override
Future<String?> requestWith(String tpn) async {
  try {
    final String? response = await _methodChannel.invokeMethod('requestWith', {
      'tpn': tpn,
    });
    return response;
  } on PlatformException catch (e) {
    throw Exception('Failed to request with: ${e.message}');
  }
}