paymentOption method
Implementation
Future<void> paymentOption(Map<String, dynamic> request, Function(Map<String, dynamic>) response, Function(dynamic) error) async {
try {
response.call(json.decode(await _api.paymentOption(json.encode(request))));
} catch (e) {
error.call(e);
}
}