FieldValue class abstract base

An immutable value made of declared fields, as a widget's props are: decoding is total, encoding sparse (a field at its default is omitted), equality by value. spec lists the fields (the editor's panels read it).

Implementers
Annotations
  • @immutable

Constructors

FieldValue(Props fields)
const

Properties

fields → Props
The values that differ from the defaults.
final
hashCode → int
The hash code for this object.
no setteroverride
isEmpty → bool
Whether every field has its default.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spec → WidgetSpec
The declared fields.
no setter

Methods

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

Operators

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