RiverpodCraftOptions class
The resolved riverpod_craft configuration for one build: the mapper
functions already parsed down to the facts the generator needs.
Immutable and passed explicitly down the generation path. build_runner runs build steps concurrently, so configuration must never live in mutable globals where one step can change what another is reading.
Constructors
Properties
- errorMapperOutputType → String?
-
The mapper's return type — becomes the error type parameter
F.final - errorMapperPath → String?
-
final
- errorMapperSource → String?
-
The
errorMapperfunction source, already renamed to RiverpodCraftOptions.errorMapperInlineName.final - errorType → String
-
The error type parameter
Fin generated code: the mapper's return type when one is configured, otherwiseObject.no setter - hasErrorMapper → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasPagedMapper → bool
-
no setter
- pagedMapperInputType → String?
-
The mapper's first parameter type, minus generics.
final
- pagedMapperPath → String?
-
final
- pagedMapperSource → String?
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
Constants
- empty → const RiverpodCraftOptions
- errorMapperInlineName → const String
-
Private name the user's
errorMapperis inlined under in each generated part. The leading_keeps it library-private so barrel re-exports can't produce an ambiguous export.