variablize method
Converts a string into a variable name.
Implementation
String variablize() {
if (this == null) {
throw ArgumentError('string: $this');
}
if (this!.isEmpty) {
return '';
}
return this!.uncapitalize().replaceAll(RegExp(r'[^a-zA-Z0-9]'), '');
}