fileName property
String?
get
fileName
The file name of the file where the Here instance was created.
Implementation
String? get fileName {
if (this.filePath != null) {
final uri = Uri.tryParse(this.filePath!);
if (uri != null && uri.pathSegments.isNotEmpty) {
final last = uri.pathSegments.last;
return '$last.dart';
}
}
return null;
}