VariableSchema class

Authoring metadata for one {{ name }} placeholder declared in the Digia dashboard's templateConfig.variables list.

type determines how the value is handled at render time:

  • "string" — substituted as-is.
  • "number" — numeric coercion is attempted; participates in arithmetic expressions inside {{ }}.

fallbackValue is the dashboard-declared default. sampleValue is a legacy alias of fallbackValue that the dashboard still writes. Null means no fallback.

Constructors

VariableSchema({required String name, required String type, required String? fallbackValue})
const

Properties

fallbackValue → String?
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
final

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.
inherited