changeEnableSchedule method
Helper function for change the enable status of a default Rainmaker schedule.
Implementation
Future<void> changeEnableSchedule(
String nodeId, String id, ScheduleEnableOperation operation) async {
await updateState(nodeId, {
'Schedule': {
'Schedules': [
{
'id': id,
'operation': operation.toShortString(),
}
],
}
});
}