AdaIncident class

Represents an incident affecting a station elevator or escalator.

ADA stands for Americans with Disabilities Act.

Constructors

AdaIncident({required DateTime timeOfInitialReport, required DateTime timeOfLastUpdate, DateTime? estimatedTimeOfFix, required String locationDescription, required String stationCode, required String stationName, required String symptomDescription, required String unitName, required AdaUnitType unitType})
Creates an AdaIncident object.
const
AdaIncident.empty()
Creates an empty AdaIncident object.
AdaIncident.fromJson(Map<String, dynamic> json)
Creates an AdaIncident object from a JSON object.
factory

Properties

estimatedTimeOfFix DateTime?
Estimated date and time (Eastern Standard Time) by when unit is expected to return to normal service.
final
hashCode int
The hash code for this object.
no setteroverride
isEmpty bool
Whether or not this AdaIncident is empty.
no setter
isNotEmpty bool
Whether or not this AdaIncident is not empty.
no setter
locationDescription String
Free-text description of the unit location within a station.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stationCode String
Unique identifier for the station.
final
stationName String
Full station name.
final
symptomDescription String
Description for why the unit is out of service or otherwise in reduced operation.
final
timeOfInitialReport DateTime
Date and time (Eastern Standard Time) unit was reported out of service.
final
timeOfLastUpdate DateTime
Date and time (Eastern Standard Time) outage details was last updated.
final
unitName String
Unique identifier for unit, by type.
final
unitType AdaUnitType
Type of unit.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON object representing this AdaIncident.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override