parse method
Parses the value and returns flutter readable code.
Adds const by default for every Flutter type that wants to be const. By
setting isConst to false you can return the parsed value without the
const prefix.
Implementation
String parse(dynamic value, {bool isConst = true}) {
final includeConst = isConst && _constTypes.contains(flutterType);
final prefix = includeConst ? 'const ' : '';
return '$prefix${buildValue(value)}';
}