Files
arcane_implementations/misc/feature.dart
T
hans c7ed42b1c7 Initial
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2024-09-19 13:34:51 +02:00

14 lines
411 B
Dart

enum Feature {
/// Prints the current auth token to the debug log each time the API makes a
/// request.
debugPrintAuthToken(kDebugMode),
;
/// Determines whether the given [Feature] is enabled by default when the
/// application launches. Features can be enabled or disabled during runtime,
/// regardless of this value.
final bool enabledAtStartup;
const Feature(this.enabledAtStartup);
}