Attribute.fromString constructor

Attribute.fromString(
  1. String? key,
  2. String value
)

Create an Attribute from a String value.

Implementation

Attribute.fromString(this.key, String this.value) {
  if (key == null) {
    throw ArgumentError("key can't be null.");
  }
}