TinkVariable mixin

A variable is a named location where information can be stored. The information stored can be used to update parts of the UI or sent in API requests

Implemented types

Properties

differentiator String
A differentiator helps to specify the uniqueness of the variable. In the case of a VariableScope.screen this is the path of the screen e.g. .screen-id would produce an ID like tink.variable.screen-id.screen.x where the screen is the scope and x is the name. For screen scope => .screen-id For device scope => device For app scope => app Only screen scope changes.
no setter
groupId String
The Hypi editor's "Add Component" area has groups. This ID identifies the group in which this widget is placed.
no setterinherited
hashCode int
The hash code for this object.
no setteroverride
id String
no setterinherited
label String
A user friendly name to display when identifying this object to the user in the editor.
no setterinherited
latest → dynamic
no setter
name String
The name of the variable
no setter
ref VariableRef
Can be used to uniquely identify this variable in any context
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope VariableScope
The scope of a variable determines where it is accessible
no setter
screenId TinkScreenId?
no setter
sources List<VariableSource>
The sources that can update this variable
no setter
targets List<VariableTarget>
The set of targets that will be told when this variable's value changes
no setter
type TinkVariableType
The type of the variable. All variables must have a type matching one of these.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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