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.

Constructors

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

Properties

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

Methods

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

Operators

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

Static Methods

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