RestModelSerdesGenerator class

Digest a restConfig (@ConnectOfflineFirstWithRest) from reader and manage serdes generators to and from a RestProvider.

Constructors

RestModelSerdesGenerator(Element element, ConstantReader reader, {String? repositoryName})

Properties

config → RestSerializableExtended
Deserialize a Config from an annotation, such as RestSerializable.
no setter
configKey String
Property under the annotation that contains the serialized config.
finalinherited
element → Element
The annotated element
finalinherited
generators List<SerdesGenerator<FieldSerializable, Model>>
Produce serializer and deserializer generators
no setter
hashCode int
The hash code for this object.
no setterinherited
reader → ConstantReader
The reader generated from the annotation
finalinherited
repositoryName String?
Repository prefix passed to the generators. Repository will be appended and should not be included.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withinConfigKey(String property) → ConstantReader?
ConstantReader#read does not return null, so we must safely navigate it
inherited

Operators

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