VariablePresentationHint class

Properties of a variable that can be used to determine how to render the variable in the UI.

Constructors

VariablePresentationHint({List<String>? attributes, String? kind, bool? lazy, String? visibility})
VariablePresentationHint.fromMap(Map<String, Object?> obj)

Properties

attributes → List<String>?
Set of attributes represented as an array of strings. Before introducing additional values, try to use the listed values.
final
hashCode → int
The hash code for this object.
no setterinherited
kind → String?
The kind of variable. Before introducing additional values, try to use the listed values.
final
lazy → bool?
If true, clients can present the variable with a UI that supports a specific gesture to trigger its evaluation. This mechanism can be used for properties that require executing code when retrieving their value and where the code execution can be expensive and/or produce side-effects. A typical example are properties based on a getter function. Please note that in addition to the lazy flag, the variable's variablesReference is expected to refer to a variable that will provide the value through another variable request.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
visibility → String?
Visibility of variable. Before introducing additional values, try to use the listed values.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

canParse(Object? obj) → bool
fromJson(Map<String, Object?> obj) → VariablePresentationHint