toDotCase method
Converts a string to dot.case.
'hello world'.toDotCase() // 'hello.world'
Implementation
String toDotCase() {
if (isEmpty) return '';
return toSnakeCase().replaceAll('_', '.');
}
Converts a string to dot.case.
'hello world'.toDotCase() // 'hello.world'
String toDotCase() {
if (isEmpty) return '';
return toSnakeCase().replaceAll('_', '.');
}