Skip to content

Commit 0c96101

Browse files
authored
Merge 63d0575 into 6c9f95b
2 parents 6c9f95b + 63d0575 commit 0c96101

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sdk/lib/core/enum.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ part of dart.core;
1010
/// introduced using an `enum` declaration.
1111
/// Non-platform classes cannot extend or mix in this class.
1212
/// 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.
1316
@Since("2.14")
1417
abstract interface class Enum {
1518
/// A numeric identifier for the enumerated value.

0 commit comments

Comments
 (0)