EVChargingOpeningHoursException class
Represents exceptions to the regular opening hours schedule for EV charging locations, such as special closures or extended hours.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
Constructors
Properties
- closed ↔ bool
-
True if the charging location is closed on particular date, in which case
EVChargingOpeningHoursException.periods is empty.
getter/setter pair
- date ↔ DateTime
-
Date of special opening hours.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
-
periods
↔ List<
TimeOfDayRange> -
A list of time periods when the charging location is open on the specified date.
The time periods are in the local time zone of the charging location, and
are represented as a list of objects with TimeOfDayRange.from
and TimeOfDayRange.to properties.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.