fromCamelCase method
Converts a property name from camelCase to this convention.
Implementation
@override
String fromCamelCase(String propertyName) {
return propertyName.replaceAllMapped(
RegExp(r'[A-Z]'),
(match) => '_${match.group(0)!.toLowerCase()}',
);
}