toDashboardBehavior method

DashboardBehavior toDashboardBehavior()

Implementation

DashboardBehavior toDashboardBehavior() {
  switch (this) {
    case 'ENABLED':
      return DashboardBehavior.enabled;
    case 'DISABLED':
      return DashboardBehavior.disabled;
  }
  throw Exception('$this is not known in enum DashboardBehavior');
}