directiveValue property

  1. @override
DirectiveNode get directiveValue
override

The directive value represented by this object

Implementation

@override
DirectiveNode get directiveValue {
  return DirectiveNode(
    name: const NameNode(value: 'key'),
    arguments: [
      ArgumentNode(
        name: const NameNode(value: 'fields'),
        value: StringValueNode(
          value: fields,
          isBlock: false,
        ),
      ),
    ],
  );
}