BuiltValueField class

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

Annotations
  • @Target({TargetKind.getter})

Constructors

BuiltValueField({bool? compare, bool? serialize, String? wireName, bool? nestedBuilder, bool? autoCreateNestedBuilder})
const

Properties

autoCreateNestedBuilder bool?
Whether the field overrides the autoCreateNestedBuilders setting from the class. Defaults to null which indicates the setting is to be taken from the autoCreateNestedBuilders setting on the class.
final
compare bool?
Whether the field is compared and hashed. Defaults to null which means BuiltValue.defaultCompare is used.
final
hashCode int
The hash code for this object.
no setterinherited
nestedBuilder bool?
Whether the field overrides the nestedBuilders setting from the class. Defaults to null which indicates the setting is to be taken from the nestedBuilders setting on the class.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialize bool?
Whether the field is serialized. Defaults to null which means BuiltValue.defaultSerialize is used.
final
wireName String?
The wire name when the field is serialized. Defaults to null which indicates the name is to be taken from the literal field name.
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