sendResponse static method

Future<UssdResponse> sendResponse(
  1. String response
)

Implementation

static Future<UssdResponse> sendResponse(String response) async {
  final result = await _methodChannel
      .invokeMethod('sendResponse', {'response': response});
  final map = Map<String, dynamic>.from(result);
  return UssdResponse.fromMap(map);
}