toMonitorDimension method

MonitorDimension toMonitorDimension()

Implementation

MonitorDimension toMonitorDimension() {
  switch (this) {
    case 'SERVICE':
      return MonitorDimension.service;
  }
  throw Exception('$this is not known in enum MonitorDimension');
}