SetCodable<E> class

A Codable that can encode and decode a set of E.

Prefer using AsSetCodable.set instead of the constructor.

Implemented types

Constructors

SetCodable.new(Codable<E> codable)
const

Properties

codable Codable<E>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(Decoder decoder) Set<E>
Decodes a value of type T using the decoder.
inherited
encode(Set<E> value, Encoder encoder) → void
Encodes the value using the encoder.
override
extract<R>(R fn<A>(Codable<A>? codableA)) → R
Extracts the child Decodable for the type parameter A from the composed Decodable for type T.
override
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