removeCodes method
Implementation
Future<List<DecryptedInvoice>> removeCodes(String sdkId, String userId, String serviceId, String secretFKeys, List<String> tarificationIds) async {
final res = await _methodChannel.invokeMethod<String>(
'InvoiceApi.removeCodes',
{
"sdkId": sdkId,
"userId": jsonEncode(userId),
"serviceId": jsonEncode(serviceId),
"secretFKeys": jsonEncode(secretFKeys),
"tarificationIds": jsonEncode(tarificationIds.map((x0) => x0).toList()),
}
);
if (res == null) throw AssertionError("received null result from platform method removeCodes");
final parsedResJson = jsonDecode(res);
return (parsedResJson as List<dynamic>).map((x1) => DecryptedInvoice.fromJSON(x1) ).toList();
}