FieldInstance class

A field is a variable that can be used in the onExecute function of a node.

In addition to the prototype, it holds the data.

Constructors

FieldInstance({required FieldPrototype prototype, required dynamic data})
FieldInstance.fromJson(Map<String, dynamic> json, Map<String, FieldPrototype> fieldPrototypes, Map<String, DataHandler> dataHandlers)
factory

Properties

data ↔ dynamic
getter/setter pair
editorOverlayController → OverlayPortalController
final
hashCode → int
The hash code for this object.
no setterinherited
key → GlobalKey<State<StatefulWidget>>
final
prototype → FieldPrototype
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({dynamic data}) → FieldInstance
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(Map<String, DataHandler> dataHandlers) → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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