BuiltValue class Null safety
Optionally, annotate a Built Value with this to specify settings. This is only needed for advanced use.
Constructors
Properties
- autoCreateNestedBuilders → bool
-
Whether to auto create nested builders. Defaults to
true
. [...]final - comparableBuilders → bool
-
Whether builders should implement
operator==
andhashCode
, making them comparable. [...]final - defaultCompare → bool
-
The default for BuiltValueField.compare. Set to
false
if you want to ignore most fields when comparing, then mark the ones you do want to compare on with@BuiltValueField(compare: true)
.final - defaultSerialize → bool
-
The default for BuiltValueField.serialize. Set to
false
if you want to ignore most fields when serializing, then mark the ones you do want to serialize with@BuiltValueField(serialize: true)
.final - generateBuilderOnSetField → bool
-
Whether to generate an
onSet
field in the builder. [...]final - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- instantiable → bool
-
Whether the Built Value is instantiable. Defaults to
true
. [...]final - nestedBuilders → bool
-
Whether to use nested builders. Defaults to
true
. [...]final - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- wireName → String?
-
The wire name when the class is serialized. Defaults to
null
which indicates that the name is to be taken from the literal class name.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