normalizedPath property
String
get
normalizedPath
Normalized path with 'assets/' prefix (for Flutter asset system)
Implementation
String get normalizedPath {
String normalized = path;
if (normalized.startsWith(_pathSeparator)) {
normalized = normalized.substring(1);
}
if (!normalized.startsWith(_assetsPrefix)) {
normalized = '$_assetsPrefix$normalized';
}
return normalized;
}