DogStructureProxy class abstract
Method proxy provider for DogStructures. A structure proxy must provided instantiation/"activation" for the object and property accessor methods for all fields defined by the structure. A get-all method for faster field value retrieval must also be provided.
- Implementers
Constructors
- DogStructureProxy()
-
const
Properties
- equalsFunc → (bool Function(dynamic a, dynamic b)?)
-
Optional generated equals function created by the dogs_generator.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hashFunc → (int Function(dynamic obj)?)
-
Optional generated hash function created by the dogs_generator.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getField(
dynamic obj, int index) → dynamic - Accesses a field of the structure.
-
getFieldValues(
dynamic obj) → List - Shortcut method for collecting all field values in a single call.
-
instantiate(
List args) → dynamic - Creates a new instance of the structure.
-
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