kind property
Gets the item kind (e.g., "model").
Implementation
String get kind {
final full = fullItemName;
final dotIndex = full.lastIndexOf('.');
return dotIndex > 0 ? full.substring(dotIndex + 1) : '';
}
Gets the item kind (e.g., "model").
String get kind {
final full = fullItemName;
final dotIndex = full.lastIndexOf('.');
return dotIndex > 0 ? full.substring(dotIndex + 1) : '';
}