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鈥檛 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?
Good question, but beyond the scope of the website. Maybe ask this on a Dart discussion group? https://dart.dev/community
Thank you @kwalrath , asked on dart-lang #987
Most helpful comment
Thank you @kwalrath , asked on dart-lang #987