EnDecode<T> class

Annotation used to request encoding and decoding of a field in model

Implemented types

Constructors

EnDecode({String alias, bool isNullable, FieldProcessor processor})
const

Properties

decodeFrom String
Alias used while decoding
final
dontDecode bool
Should the field be included during decoding?
final
dontEncode bool
Should the field be included during encoding?
final
encodeTo String
Alias used while encoding
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isNullable bool
Is it allowed to set the field to null value?
final
processor FieldProcessor
The field processor used to encode/decode this field
final
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
toString() String
A string representation of this object. [...]
inherited

Operators

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