TimeBarrier class

Inheritance

Constructors

TimeBarrier.duringPeriodOfDay({@required String barrierLabel, @required int startTimeOfDay, @required int stopTimeOfDay, String timeZoneId})
TimeBarrier.duringPeriodOfWeek({@required String barrierLabel, @required int dayOfWeek, @required int startTimeOfSpecifiedDay, @required int stopTimeOfSpecifiedDay, String timeZoneId})
TimeBarrier.duringTimePeriod({@required String barrierLabel, @required int startTimeStamp, @required int stopTimeStamp})
TimeBarrier.inSunriseOrSunsetPeriod({@required String barrierLabel, @required int timeInstant, @required int startTimeOffset, @required int stopTimeOffset})
TimeBarrier.inTimeCategory({@required String barrierLabel, @required int inTimeCategory})

Properties

barrierEventType String
read / write, inherited
barrierLabel String
read / write, override
barrierType String
read / write, inherited
dayOfWeek int
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inTimeCategory int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startTimeOfDay int
read / write
startTimeOffset int
read / write
startTimeOfSpecifiedDay int
read / write
startTimeStamp int
read / write
stopTimeOfDay int
read / write
stopTimeOffset int
read / write
stopTimeOfSpecifiedDay int
read / write
stopTimeStamp int
read / write
timeInstant int
read / write
timeZoneId String
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() String
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

CategoryAfternoon → const int
2
CategoryEvening → const int
3
CategoryHoliday → const int
5
CategoryMorning → const int
1
CategoryNight → const int
4
CategoryNotHoliday → const int
8
CategoryWeekday → const int
6
CategoryWeekend → const int
7
FridayCode → const int
6
MondayCode → const int
2
SaturdayCode → const int
7
SundayCode → const int
1
SunriseCode → const int
0
SunsetCode → const int
1
ThursdayCode → const int
5
TuesdayCode → const int
3
WednesdayCode → const int
4