removeCodes method
Implementation
Future<List<Invoice>> removeCodes(String sdkId, String userId, String serviceId, String secretFKeys, List<String> tarificationIds) async {
final res = await _methodChannel.invokeMethod<String>(
'InvoiceApi.tryAndRecover.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) => Invoice.fromJSON(x1) ).toList();
}