String name

Gets the name of this node. This is the last component of this node's path.

Source

String get name => new Path(path).name;