Pattern: Missing use of const
Issue: -
Const declarations are more hot-reload friendly and allow to use const constructors if an instantiation references this declaration.
Example of correct code:
const o = const [];
class A {
static const o = const [];
}
Example of incorrect code:
final o = const [];
class A {
static final o = const [];
}