Attribute.bool constructor

Attribute.bool(
  1. String name, {
  2. required bool value,
})

Implementation

factory Attribute.bool(String name, {required bool value}) {
  return Attribute._(
      name: name,
      value: value,
      valueType: AttributeValueType.bool,
      kind: AttributeKind.simple,
      action: AttributeAction.set
  );
}