BuiltValueSerializer class
Optionally, annotate a Built Value Serializer getters with this to
specify settings. This is only needed for advanced use.
- Annotations
-
- @Target.new({TargetKind.getter})
Constructors
- BuiltValueSerializer({bool custom = false, bool serializeNulls = false})
-
const
Properties
- custom → bool
-
Set this to
trueto stop Built Value from generating a serializer for you. The getter may then return any compatibleSerializer. Defaults tofalse.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serializeNulls → bool
-
Whether the generated serializer should output
nulls.final
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