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({FieldRef? decl, dynamic value})

Properties

decl FieldRef?
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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?