Schedule class abstract
Constructors
- Schedule([dynamic updates(ScheduleBuilder b)])
-
factory
- Schedule.fromJson(Map json, {String? id})
-
factory
Properties
- autoDelete → bool?
-
If set to true, the schedule will be removed automatically if expired, if set to false it will be disabled. Default is true. Only visible for non-recurring schedules.
no setter
- command → Command?
-
no setter
- description → String?
-
Description of the new schedule. If the description is not specified it will be empty.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setter
- isAlarm → bool
-
no setter
- isTimer → bool
-
no setter
- name → String?
-
Name for the new schedule. If a name is not specified then the default name, “schedule”, is used.
If the name is already taken a space and number will be appended by the bridge, e.g. “schedule 1”.
no setter
- recycle → bool?
-
When true: Resource is automatically deleted when not referenced anymore in any resource link. Only on creation of resource. “false” when omitted.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String?
-
'enabled' Schedule is enabled
'disabled' Schedule is disabled by user.
Application is only allowed to set “enabled” or “disabled”. Disabled causes a timer to reset when activated (i.e. stop & reset). “enabled” when not provided on creation.
no setter
- time → String?
-
Local time when the scheduled event will occur.
no setter
- type → ScheduleType
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(ScheduleBuilder)) → Schedule -
Rebuilds the instance.
inherited
-
toBridgeObject(
{String? action}) → Map -
toBuilder(
) → ScheduleBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Schedule> -
no setter
Constants
- absoluteTimeAlarm → const String
- datePattern → const String
- expiringTimer → const String
- randomizedTimeAlarm → const String
- randomRecurringTimeAlarm → const String
- randomTimeDivider → const String
- randomTimer → const String
- recurringAlarm → const String
- recurringRandomTimer → const String
- recurringTimer1 → const String
- recurringTimer2 → const String
- timeDivider → const String
- timeIntervalAlarm → const String
- timePattern → const String