ProviderSerializableGenerator<Config> class abstract

Given an element and annotation, output a digestable config

Constructors

ProviderSerializableGenerator(Element element, ConstantReader reader, {required String configKey})

Properties

config → Config?
Deserialize a Config from an annotation, such as RestSerializable.
no setter
configKey String
Property under the annotation that contains the serialized config.
final
element → Element
The annotated element
final
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
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

Operators

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