Attribute.fromInt constructor

Attribute.fromInt(
  1. String key,
  2. int value
)

Create an Attribute from an integer value.

Implementation

Attribute.fromInt(this.key, int this.value) {
  _assertKey(key);
}