Skip to content

one_member_abstracts should be allowed #2

@passsy

Description

@passsy

# Defining interfaces (abstract classes), with only one method, makes sense architecture wise
# https://dart-lang.github.io/linter/lints/one_member_abstracts.html
- one_member_abstracts

As already definied in the comment, it makes sense to define interfaces (abstract classes in dart) architecture wise when defining boundaries. A Function reference is not a good replacement because it is very likely that new functions will be added which then would result in a breaking change.

Seems like it is accidentally enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions