Pattern: Unnecessary string interpolation
Issue: -
Don't use string interpolation if there's only a string expression in it.
Example of incorrect code:
String message;
String o = '$message';
Example of correct code:
String message;
String o = message;