type property

XIconType type

if _explicitType is provided, use it instead of parsing from uri. describes what it stands for.

Implementation

XIconType get type {
  if (_explicitType != null) {
    return _explicitType!;
  }
  return typeFromUri(uri)!;
}