Variable constructor
const
Variable({
- @JsonKey(name: 'variable_name') required String variableName,
- dynamic example,
- dynamic fallback,
Implementation
const factory Variable({
@JsonKey(name: 'variable_name') required String variableName,
/// The example value of the variable
///
/// Can be:
/// - a [String]
/// - a [num]
dynamic example,
/// The fallback value of the variable
///
/// Can be:
/// - a [String]
/// - a [num]
dynamic fallback,
}) = _Variable;