BuiltValueHook class

Optionally, annotate methods with this to cause them to be called by generated code.

Annotations
  • @Target({TargetKind.method})

Constructors

BuiltValueHook({bool initializeBuilder = false, bool finalizeBuilder = false})
const

Properties

finalizeBuilder bool
Marks a static method that will be called immediately before the builder for the enclosing value type is built.
final
hashCode int
The hash code for this object.
read-onlyinherited
initializeBuilder bool
Marks a static method that will be called when the builder for the enclosing value type is initialized.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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