We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c9f95b + 63d0575 commit 0c96101Copy full SHA for 0c96101
sdk/lib/core/enum.dart
@@ -10,6 +10,9 @@ part of dart.core;
10
/// introduced using an `enum` declaration.
11
/// Non-platform classes cannot extend or mix in this class.
12
/// Concrete classes cannot implement the interface.
13
+///
14
+/// The identifier used to name an `enum` value is available as a [String],
15
+/// via the [EnumName.name] extension property on the `enum` value.
16
@Since("2.14")
17
abstract interface class Enum {
18
/// A numeric identifier for the enumerated value.
0 commit comments