KeyAttachment constructor

const KeyAttachment(
  1. String fields
)

An attachment for graphQLKeyDirective that specifies that a given object can be identified by the fields passed as argument to the directive.

Implementation

const KeyAttachment(this.fields);