Attribute.fromStringList constructor

Attribute.fromStringList(
  1. String? key,
  2. List<String> value
)

Create an Attribute from a list of String values.

Implementation

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