OverlayCategory class Maps & 3D Scene

Overlay category

Represents a single category inside an overlay hierarchy. It carries the display label, icon data, a stable identifier and a reference to its parent overlay together with any nested subcategories.

Implementers

Constructors

OverlayCategory.new({required String name, required int overlayuid, required List<OverlayCategory> subcategories, required int uid, required Img img})
Creates an OverlayCategory instance.
OverlayCategory.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hasSubcategories bool
Returns true if the category has subcategories.
no setter
image Uint8List?
The category icon as bytes for rendering.
no setter
img Img
The category icon.
getter/setter pair
name String
The category name.
getter/setter pair
overlayuid int
The parent overlay ID.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subcategories List<OverlayCategory>
The subcategories of this category.
getter/setter pair
uid int
The category ID.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited