TriggerProperty class
Defines an alarm trigger
Constructors
- TriggerProperty(String definition)
- Creates a new TriggerProperty
- TriggerProperty.dateTime(String definition)
- Creates a new TriggerProperty
Properties
- dateTime → DateTime?
-
no setter
- definition → String
-
Full property content, e.g.
DTSTAMP;TZID=America/New_York:19970610T172345Z
finalinherited - duration → IsoDuration?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Name of the property, e.g.
DTSTAMP
finalinherited -
parameters
→ Map<
String, Parameter> -
Additional parameters for this property, e.g. `{'TZID' : TextValueType('America/New_York')}}
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textValue → String
-
Value of the property, e.g.
19970610T172345Z
finalinherited - triggerRelation ↔ AlarmTriggerRelationship
-
Does the trigger relate to the start or the end of the enclosing VEvent?
getter/setter pair
- value ↔ dynamic
-
The value of this property
getter/setter pairinherited
Methods
-
copy(
) → Property -
Creates a copy of this property
inherited
-
getParameterValue<
T> (ParameterType type) → T? -
Retrieves the parameter value for
type
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
String textValue) → dynamic -
Parses this property.
inherited
-
render(
StringBuffer buffer) → void -
Renders this parameter into the given
buffer
without folding / wrapping lines and withoutCRLF
at the end.inherited -
setOrRemoveParameter(
ParameterType type, Parameter? value) → void -
Sets the parameter when
value
is not null and removes the parameter whenvalue
is null.inherited -
setParameter(
Parameter value) → void -
Sets the parameter
value
inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
ParameterType type) → Parameter? -
Retrieves the parameter with the given
type
inherited -
operator []=(
ParameterType type, Parameter value) → void -
Sets the parameter
value
for the giventype
inherited
Static Methods
-
createWithDateTime(
DateTime? value, {AlarmTriggerRelationship? relation}) → TriggerProperty? -
createWithDuration(
IsoDuration? value, {AlarmTriggerRelationship? relation}) → TriggerProperty?
Constants
- propertyName → const String
-
TRIGGER