SpeedSignEvent class
A speed-sign event pushed by the native SDK when a speed-limit zone is entered or the current speed-limit changes.
imageBytes carries a PNG-encoded bitmap (Android converts from BMP;
iOS converts from raw BGRA bytes) of the sign image, or null when the
native layer could not produce an image.
speedLimit is the numeric speed limit in km/h, or null when unavailable.
Constructors
- SpeedSignEvent({Uint8List? imageBytes, int? speedLimit, String? signType, required int timestamp})
-
const
-
SpeedSignEvent.fromMap(Map<
Object?, Object?> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageBytes → Uint8List?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signType → String?
-
final
- speedLimit → int?
-
final
- timestamp → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited