EncodeValueField class
Marks a String? field on the QueryParams class that will carry the
encoded payload (e.g. base64 of nested/complex fields).
This field is managed by the generator and should NOT be set or read manually in client code. Use:
toQueryParameters()fromQueryParameters()
for the correct behavior.
Example:
@QueryParamsSerializable()
class QueryParams {
String? type;
String? id;
@EncodeValueField()
String? ed; // or `payload`, or any other name you like
}
Constructors
- EncodeValueField()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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