BoundField class Null safety

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.

Constructors

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

Properties

decl FieldRef?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value ↔ dynamic
value can be one of InstanceRef or Sentinel.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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?