SocialReportsOverlayCategory class Maps & 3D Scenes

Represents a social report category with hierarchical subcategories.

Extends OverlayCategory with social report-specific metadata including country codes, parameter definitions, and nested subcategory hierarchies.

Category IDs (uid) are stable identifiers used in SocialOverlay.report. The parameters field defines allowed custom parameters for reports.

Should be obtained via SocialReportsOverlayInfo methods. Do not instantiate directly.

See also:

Inheritance

Constructors

SocialReportsOverlayCategory({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
True when this category contains one or more subcategories.
no setterinherited
image Uint8List?
The category icon as raw bytes suitable for rendering.
no setterinherited
img Img
The category icon as an Img wrapper.
getter/setter pairinherited
name String
The category display name.
getter/setter pairinherited
overlaySubcategories List<SocialReportsOverlayCategory>
The subcategories of this category.
getter/setter pair
overlayuid int
The parent OverlayInfo UID.
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>
Nested subcategories of this category.
getter/setter pairinherited
uid int
Stable OverlayCategory identifier.
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