triggerRelativeDuration property
IsoDuration?
triggerRelativeDuration
Retrieves the relative duration of the trigger, e.g. -15 minutes (-PT15M
) as a reminder before an event starts.
Compare triggerDate for a fixed date. Compare triggerRelation to see if the triggerRelativeDuration is calculated in relation to the VEvent.start or VEvent.end time.
Implementation
IsoDuration? get triggerRelativeDuration =>
getProperty<TriggerProperty>(TriggerProperty.propertyName)?.duration;
Sets the trigger relative duration
Implementation
set triggerRelativeDuration(IsoDuration? value) => setOrRemoveProperty(
TriggerProperty.propertyName, TriggerProperty.createWithDuration(value));