pathize method
Converts a string into a path name.
Implementation
String pathize() {
if (this == null) {
throw ArgumentError('string: $this');
}
if (this!.isEmpty) {
return '';
}
return this!.underscore().replaceAll('_', '/');
}
Converts a string into a path name.
String pathize() {
if (this == null) {
throw ArgumentError('string: $this');
}
if (this!.isEmpty) {
return '';
}
return this!.underscore().replaceAll('_', '/');
}