SocialReportsOverlayCategory class Maps & 3D Scene
Overlay category
A specialized category model used for social‑report overlays that extends the generic overlay category concept with report‑specific metadata. Instances carry display metadata (icon and label), a stable identifier and parent overlay reference, an ISO country code and a structured parameter set describing the report category; they also hold their own nested subcategory collection so they can represent hierarchical report
- Inheritance
-
- Object
- OverlayCategory
- SocialReportsOverlayCategory
Constructors
-
SocialReportsOverlayCategory.new({required Img img, required String name, required int overlayuid, required int uid, required List<
SocialReportsOverlayCategory> overlaySubcategories, required String country, required SearchableParameterList parameters}) - Creates a SocialReportsOverlayCategory instance.
-
SocialReportsOverlayCategory.fromJson(Map<
String, dynamic> json) -
factory
Properties
- country ↔ String
-
Category ISO 3166-1 alpha-3 country code representation.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasSubcategories → bool
-
Returns true if the category has subcategories.
no setterinherited
- image → Uint8List?
-
The category icon as bytes for rendering.
no setterinherited
- img ↔ Img
-
The category icon.
getter/setter pairinherited
- name ↔ String
-
The category name.
getter/setter pairinherited
-
overlaySubcategories
↔ List<
SocialReportsOverlayCategory> -
The subcategories of this category.
getter/setter pair
- overlayuid ↔ int
-
The parent overlay ID.
getter/setter pairinherited
- parameters ↔ SearchableParameterList
-
Report category parameters.
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 pairinherited
- uid ↔ int
-
The category ID.
getter/setter pairinherited
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