id property
String
get
id
What worlds open takes: the file's name without .dart.
Implementation
String get id {
var file = path.split('/').last;
return file.endsWith('.dart')
? file.substring(0, file.length - '.dart'.length)
: file;
}