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