RecurrenceRule class Null safety

Represents the iCalendar RFC 5545 standard recurrence rule to specify repeating events: https://tools.ietf.org/html/rfc5545#section-3.3.10

However, since date times are relative to the start time of a study, they are replaced with time spans representing elapsed time since the start of the study.

Annotations

Constructors

RecurrenceRule(Frequency frequency, {int interval = 1, End? end})
RecurrenceRule.fromJson(Map<String, dynamic> json)
factory
RecurrenceRule.fromString(String rrule)
Initialize a RecurrenceRule based on a rrule string.
factory

Properties

end End?
Specifies when, if ever, to stop repeating events. Default recurrence is forever.
read / write
frequency Frequency
Specifies the type of interval at which to repeat events, or multiples thereof.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
interval int
The interval at which frequency repeats. The default is 1. For example, with Frequency.DAILY, a value of "8" means every eight days.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A valid RFC 5545 string representation of this recurrence rule, except when end is specified as End.Until. When End.Until is specified, 'UNTIL' holds the total number of microseconds which need to be added to a desired start date. 'UNTIL' should be reassigned to a calculated end date time, formatted using the RFC 5545 specifications: https://tools.ietf.org/html/rfc5545#section-3.3.5
override

Operators

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