Attribute.fromBoolean constructor
Create an Attribute from a boolean value.
Implementation
// ignore: avoid_positional_boolean_parameters
Attribute.fromBoolean(this.key, bool this.value) {
if (key == null) {
throw ArgumentError("key can't be null.");
}
}