avoid_returning_null_for_future

Group: errors

Maturity: stable

Linter v0.1.72

Since info is static, may be stale

View all Lint Rules

Using the Linter

AVOID returning null for Future.

It is almost always wrong to return null for a Future. Most of the time the developer simply forgot to put an async keyword on the function.