Attribute.fromBooleanList constructor

Attribute.fromBooleanList(
  1. String? key,
  2. List<bool> value
)

Create an Attribute from a list of boolean values.

Implementation

Attribute.fromBooleanList(this.key, List<bool> this.value) {
  if (key == null) {
    throw ArgumentError("key can't be null.");
  }
}