BrickVariableProperties.string constructor

const BrickVariableProperties.string({
  1. String? description,
  2. String? defaultValue,
  3. String? prompt,
})

An object representing a brick variable.

Creates an instance of a BrickVariableProperties of type BrickVariableType.string.

Implementation

const BrickVariableProperties.string({
  String? description,
  String? defaultValue,
  String? prompt,
}) : this(
        type: BrickVariableType.string,
        description: description,
        defaultValue: defaultValue,
        prompt: prompt,
      );