Attribute.fromDouble constructor

Attribute.fromDouble(
  1. String key,
  2. double value
)

Create an Attribute from a double-precision floating-point value.

Implementation

Attribute.fromDouble(this.key, double this.value) {
  _assertKey(key);
}