name property

String? get name

Implementation

String? get name {
  final index = _path.lastIndexOf(_sep);
  return index != -1 ? _path.substring(index + 1) : null;
}