RecurrenceRule class

Constructors

RecurrenceRule(RecurrenceFrequency? recurrenceFrequency, {int? totalOccurrences, int? interval, DateTime? endDate, List<DayOfWeek>? daysOfWeek, int? dayOfMonth, MonthOfYear? monthOfYear, WeekNumber? weekOfMonth})
RecurrenceRule.fromJson(Map<String, dynamic>? json)

Properties

dayOfMonth int?
A day of the month that this event occurs on. Only applicable to recurrence rules with a monthly or yearly frequency
getter/setter pair
daysOfWeek List<DayOfWeek>?
The days of the week that this event occurs on. Only applicable to recurrence rules with a weekly, monthly or yearly frequency
getter/setter pair
endDate DateTime?
The date a series of recurring events should end
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
interval int?
The interval between instances of a recurring event
getter/setter pair
monthOfYear MonthOfYear?
A month of the year that the event occurs on. Only applicable to recurrence rules with a yearly frequency
getter/setter pair
recurrenceFrequency RecurrenceFrequency?
The frequency of recurring events
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalOccurrences int?
getter/setter pair
weekOfMonth WeekNumber?
Filters which recurrences to include in the recurrence rule’s frequency. Only applicable when _isByDayOfMonth is false
getter/setter pair

Methods

convertDynamicToInt(dynamic value) int?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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