BuiltValueSerializer class Null safety

Optionally, annotate a Built Value Serializer getters with this to specify settings. This is only needed for advanced use.

Annotations
  • @Target({TargetKind.getter})

Constructors

BuiltValueSerializer({bool custom = false, bool serializeNulls = false})
const

Properties

custom bool
Set this to true to stop Built Value from generating a serializer for you. The getter may then return any compatible Serializer. Defaults to false.
final
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
serializeNulls bool
Whether the generated serializer should output nulls.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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