nodeOf static method
Returns the filename of the path
without path.
Example: base('abc/def.txt') == 'def.txt'
deprecated: Use basename() from package path
Implementation
@deprecated
static String nodeOf(String path) {
final ix = path.lastIndexOf(sep);
final rc = ix < 0 ? path : path.substring(ix + 1);
return rc;
}