BrickVariableProperties.number constructor

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

An object representing a brick variable.

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

Implementation

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