checkbox method

DevbarVariable<bool> checkbox(
  1. String key, {
  2. String? description,
  3. bool defaultValue = false,
})

Implementation

DevbarVariable<bool> checkbox(
  String key, {
  String? description,
  bool defaultValue = false,
}) {
  return add(
    DevbarVariableDefinition<bool>(
      key,
      defaultValue: defaultValue,
      description: description,
    ),
  );
}