Skip to content

Commit

Permalink
changed 'base class B {}' --> 'interface class B{}'
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniPiku committed Mar 1, 2025
1 parent 53a01c9 commit 45f381f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/effective-dart/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ Otherwise, later changes to it may break your code.

Class modifiers like `final`, `interface`, or `sealed`
restrict how a class can be extended.
For example, use `final class A {}` or `base class B {}` to prevent
For example, use `final class A {}` or `interface class B {}` to prevent
extension outside the current library.
Use these modifiers to communicate your intent, rather than relying on documentation.

Expand Down

0 comments on commit 45f381f

Please sign in to comment.