Variable class final
A variable declared by a message template.
Constructors
-
Variable({String? about, Object? defaultValue, List<
VariableItem> ? items, required String name, required bool requiredValue, required VariableType type}) -
const
-
Variable.fromJson(Map<
String, Object?> json) -
factory
Properties
- about → String?
-
final
- defaultValue → Object?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
VariableItem> ? -
final
- name → String
-
final
- requiredValue → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → VariableType
-
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