Attribute.string constructor

Attribute.string(
  1. String name, {
  2. required String value,
})

Implementation

factory Attribute.string(String name, {required String value}) {
  return Attribute._(
      name: name,
      value: value,
      valueType: AttributeValueType.string,
      kind: AttributeKind.simple,
      action: AttributeAction.set
  );
}