code property

String get code

RRULE code such as MO, 2TU or -1FR.

Implementation

String get code => '${ordinal ?? ''}${_codes[weekday - 1]}';