Skip to content

Add future_sync_value to the lints sets #976

Description

@FMorschel

In 3.10, @lrhn implemented a new Future.syncValue, which is more performant than the base Future.value when the user knows the value is not a Future (from here dart-lang/sdk#57495 (comment)). I've implemented future_sync_value over at dart-lang/sdk#61740.

This is a request to add it to core or at least to the recommended set.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions