Nested class declaration #56625
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
triage-automation
See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.
type-enhancement
A request for a change that isn't a bug
Proposal: Opportunity to declare classes inside other classes like in Kotlin:
Dart:
Use case: to increase readability especially for sealed classes
Without such syntax we should always add "noisy" prefix/suffix to sealed subclasses' names especially when super class has long name:
The text was updated successfully, but these errors were encountered: