name property

String get name

Implementation

String get name {
  switch (this) {
    case ThemeMode.light:
      return 'light';
    case ThemeMode.dark:
      return 'dark';
    case ThemeMode.auto:
      return 'auto';
  }
}