kind property

String get kind

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) : '';
}