BrickVariableProperties.boolean constructor

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

An object representing a brick variable.

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

Implementation

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