Attribute<X> constructor

Attribute<X>(
  1. JsonPath<X>? path,
  2. X? value, {
  3. required AttributeSource source,
  4. bool clearErrors = false,
})

Implementation

Attribute(this.path, this.value,
    {required AttributeSource source, this.clearErrors = false})
    : source = source,
      error = null;