AllDayParking class

Represents all-day parking information at a station.

Constructors

AllDayParking({required int totalSpaces, required double riderCost, required double nonRiderCost, required double saturdayRiderCost, required double saturdayNonRiderCost})
Creates an AllDayParking object.
AllDayParking.empty()
Creates an empty AllDayParking object.
AllDayParking.fromJson(Map<String, dynamic> json)
Creates an AllDayParking object from a JSON object.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
isEmpty bool
Whether or not this AllDayParking object is empty.
no setter
isNotEmpty bool
Whether or not this AllDayParking object is not empty.
no setter
nonRiderCost double
All-day cost per day (weekday) for non-Metro riders.
final
riderCost double
All-day cost per day (weekday) for Metro riders.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saturdayNonRiderCost double
All-day cost per day (Saturday) for non-Metro riders.
final
saturdayRiderCost double
All-day cost per day (Saturday) for Metro riders.
final
totalSpaces int
Number of all-day parking spots available at a station.
final

Methods

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

Operators

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