Attribute.fromBoolean constructor

Attribute.fromBoolean(
  1. String key,
  2. bool value
)

Create an Attribute from a boolean value.

Implementation

// ignore: avoid_positional_boolean_parameters
Attribute.fromBoolean(this.key, bool this.value);