unnecessary_nullable_for_final_variable_declarations

Group: style

Maturity: experimental

Linter v0.1.118

Since info is static, may be stale

View all Lint Rules

Using the Linter

Use a non-nullable type for a final variable initialized with a non-nullable value.

BAD:

final int? i = 1;

GOOD:

final int i = 1;