-
Notifications
You must be signed in to change notification settings - Fork 739
Closed
Description
Page URL: https://dart.dev/guides/language/effective-dart/design
Page source: https://github.com/dart-lang/site-www/tree/master/src/_guides/language/effective-dart/design.md
Description:
AVOID extending a class that isn’t intended to be subclassed.
Dart doesn't allow final class.
Like in java, in this case allowing the class to be marked as final would prevent another class from inheriting it.
What would be the side effects if this was allowed?
Metadata
Metadata
Assignees
Labels
No labels