toSnakeCase method
Implementation
String toSnakeCase() {
if (isCamelCase) {
return _toSnakeCaseFromCamelCase();
} else if (isPascalCase) {
return _toSnakeCaseFromPascalCase();
} else {
return this;
}
}
String toSnakeCase() {
if (isCamelCase) {
return _toSnakeCaseFromCamelCase();
} else if (isPascalCase) {
return _toSnakeCaseFromPascalCase();
} else {
return this;
}
}