RecurrenceRuleStringCodec class

A Codec for converting RecurrenceRules from and to RFC 5545 compliant strings.

Inheritance
Annotations
  • @immutable

Constructors

RecurrenceRuleStringCodec({RecurrenceRuleToStringOptions toStringOptions = const RecurrenceRuleToStringOptions(), RecurrenceRuleFromStringOptions fromStringOptions = const RecurrenceRuleFromStringOptions()})
const

Properties

decoder Converter<String, RecurrenceRule>
Returns the decoder of this, converting from T to S.
no setteroverride
encoder Converter<RecurrenceRule, String>
Returns the encoder from S to T.
no setteroverride
fromStringOptions RecurrenceRuleFromStringOptions
final
hashCode int
The hash code for this object.
no setterinherited
inverted Codec<String, RecurrenceRule>
Inverts this.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toStringOptions RecurrenceRuleToStringOptions
final

Methods

decode(String encoded) RecurrenceRule
Decodes encoded data.
inherited
encode(RecurrenceRule input) String
Encodes input.
inherited
fuse<R>(Codec<String, R> other) Codec<RecurrenceRule, R>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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