modifyReceipt method
Implementation
Future<EncryptedReceipt> modifyReceipt(String sdkId, EncryptedReceipt entity) async {
final res = await _methodChannel.invokeMethod<String>(
'ReceiptApi.encrypted.modifyReceipt',
{
"sdkId": sdkId,
"entity": jsonEncode(EncryptedReceipt.encode(entity)),
}
);
if (res == null) throw AssertionError("received null result from platform method modifyReceipt");
final parsedResJson = jsonDecode(res);
return EncryptedReceipt.fromJSON(parsedResJson);
}