Variable constructor

const Variable({
  1. @JsonKey(name: 'variable_name') required String variableName,
  2. dynamic example,
  3. 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;