BoundField class

A BoundField represents a field bound to a particular value in an Instance.

If the field is uninitialized, the value will be the NotInitialized Sentinel.

If the field is being initialized, the value will be the BeingInitialized Sentinel.


BoundField({FieldRef? decl, dynamic name, dynamic value})


decl FieldRef?
Provided for fields of instances that are NOT of the following instance kinds:
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name ↔ dynamic
name can be one of String or int.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ dynamic
value can be one of InstanceRef or Sentinel.
getter/setter pair


noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.


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

Static Methods

parse(Map<String, dynamic>? json) BoundField?