DVCVariable<T> class

Constructors

DVCVariable()

Properties

callback ↔ void Function(T value)?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
unique database id
getter/setter pair
key String?
Unique key by Project, can be used in the SDK / API to reference by 'key' rather than _id.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type VariableType?
Variable type
getter/setter pair
value ↔ T?
Variable value can be a string, number, boolean, or JSON
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onUpdate(void onUpdateCallback(T value)) → dynamic
To be notified when Variable.value changes register a callback by calling this method. The callback will replace any previously registered callback.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromCodec(Map<String, dynamic> map) DVCVariable