Skip to content

Using short function syntax to get rid of linter hints #174

@zoechi

Description

@zoechi

image

info: Use => for short members whose body is a single return statement. (prefer_expression_function_bodies at [datingnode] lib/src/queries_enums.g.dart:4650)

Alternatively some way to get // ignore_for_file: ... comments added to generated code to suppress such lints and errors would help as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions