decrypt method
Implementation
Future<DecryptedMaintenanceTask> decrypt(String sdkId, EncryptedMaintenanceTask maintenanceTask) async {
final res = await _methodChannel.invokeMethod<String>(
'MaintenanceTaskApi.decrypt',
{
"sdkId": sdkId,
"maintenanceTask": jsonEncode(EncryptedMaintenanceTask.encode(maintenanceTask)),
}
);
if (res == null) throw AssertionError("received null result from platform method decrypt");
final parsedResJson = jsonDecode(res);
return DecryptedMaintenanceTask.fromJSON(parsedResJson);
}