name property

String? name

File name including its extension.

Implementation

String? get name => _name ?? path?.split('/').last;