LightSignalingStatus class
Represents light signalling properties.
Constructors
-
LightSignalingStatus({required String signal, required List<
String> signalValues, required DateTime estimatedEnd}) - Creates a LightSignalingStatus object.
- LightSignalingStatus.empty()
- Creates an empty LightSignalingStatus object.
-
LightSignalingStatus.fromJson(Map<
String, dynamic> dataMap) -
Creates a LightSignalingStatus object from the JSON response to a GET
request.
factory
Properties
- estimatedEnd → DateTime
-
Timestamp indicating when the active signal is expected to end.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signal → String
-
Indicates which signal is currently active.
final
-
signalValues
→ List<
String> -
The accepted signal values.
final
Methods
-
copyWith(
{String? signal, List< String> ? signalValues, DateTime? estimatedEnd}) → LightSignalingStatus - Returns a copy of this object with its field values replaced by the ones provided to this method.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this object into JSON format.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override