SafetyParameters class Core
Parameters for safety-related overlay items.
Safety overlays represent traffic safety devices and warnings (for example: cameras, speed measurement points, or other road-safety markers).
This class exposes provider information, camera type identifiers, textual status fields and measured values such
as speedValue/speedUnit when available.
- Inheritance
-
- Object
- OverlayItemParameters
- SafetyParameters
Constructors
- SafetyParameters({required int? id, required DateTime? createStampUtc, required int? iconId, required String? country, required int? angleIcon, required int? cameraTypeId, required String? strCameraStatus, required String? strDrivingDirection, required String? strLocation, required int? strTowards, required String? provider, required int? providerId, required String? speedUnit, required int? speedValue, required String? type, required bool? strDrivingDirectionFlag})
-
SafetyParameters.fromParameters(List<
GemParameter> params) -
factory
Properties
- angleIcon ↔ int?
-
Angle used to calculate the icon rotation
getter/setter pair
- cameraTypeId ↔ int?
-
The icon camera id
getter/setter pair
- country ↔ String?
-
The country ISO3 code
getter/setter pair
- createStampUtc ↔ DateTime?
-
The creation timestamp of the overlay item in UTC.
getter/setter pairoverride-getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconId ↔ int?
-
The Overlay item category id.
getter/setter pairoverride-getter
- id ↔ int?
-
The unique identifier of the overlay item.
getter/setter pairoverride-getter
- provider ↔ String?
-
Data provider name
getter/setter pair
- providerId ↔ int?
-
Data provider identifier
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speedUnit ↔ String?
-
Speed unit (eg. km/h, mph)
getter/setter pair
- speedValue ↔ int?
-
Speed value
getter/setter pair
- strCameraStatus ↔ String?
-
Camera status (eg. Active, Inactive)
getter/setter pair
- strDrivingDirection ↔ String?
-
The direction of driving (eg. Both Ways, One way)
getter/setter pair
- strDrivingDirectionFlag ↔ bool?
-
True if the camera is located on a two‑way street; false if it is on a one‑way street
getter/setter pair
- strLocation ↔ String?
-
Street address
getter/setter pair
- strTowards ↔ int?
-
Angle used to calculate the icon rotation
getter/setter pair
- type ↔ String?
-
Safety overlay type (eg. Speed Limit)
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