You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like in java, in this case allowing the class to be marked as final would prevent another class from inheriting it, dart doesn't allow final class.
What would be the side effects if this was allowed?
Would this be a breaking change?
Description:
Effective dart guidelines mention the following.
AVOID extending a class that isn’t intended to be subclassed.
Like in java, in this case allowing the
class
to be marked asfinal
would prevent anotherclass
from inheriting it, dart doesn't allowfinal class
.What would be the side effects if this was allowed?
Would this be a breaking change?
effective dart #2440
The text was updated successfully, but these errors were encountered: