Pattern: Unnecessary const
Issue: -
AVOID repeating const keyword in a const context.
Example of incorrect code:
class A { const A(); }
m(){
const a = const A();
final b = const [const A()];
}
Example of correct code:
class A { const A(); }
m(){
const a = A();
final b = const [A()];
}