name property

String? get name

Implementation

String? get name => path?.split(RegExp(r"[\\/]")).last;