SupabaseModelSerdesGenerator class
Digest a supabaseConfig
(e.g. from a @ConnectOfflineFirstWithSupabase
) from reader
and manage serdes generators
to and from a SupabaseProvider
.
Constructors
- SupabaseModelSerdesGenerator.new(Element element, ConstantReader reader, {String? repositoryName})
-
Digest a
supabaseConfig
(e.g. from a@ConnectOfflineFirstWithSupabase
) fromreader
and manage serdes generators to and from aSupabaseProvider
.
Properties
- config → SupabaseSerializable
-
Deserialize a
Config
from an annotation, such asRestSerializable
.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 returnnull
, so we must safely navigate itinherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited