toMonitoringScheduleSortKey method
Implementation
MonitoringScheduleSortKey toMonitoringScheduleSortKey() {
switch (this) {
case 'Name':
return MonitoringScheduleSortKey.name;
case 'CreationTime':
return MonitoringScheduleSortKey.creationTime;
case 'Status':
return MonitoringScheduleSortKey.status;
}
throw Exception('$this is not known in enum MonitoringScheduleSortKey');
}