InterfaceTypeExtensionNode constructor

const InterfaceTypeExtensionNode(
  1. {List<FieldDefinitionNode> fields: const [],
  2. @required NameNode name,
  3. FileSpan span,
  4. List<DirectiveNode> directives: const []}
)

Implementation

const InterfaceTypeExtensionNode({
  this.fields = const [],
  @required NameNode name,
  FileSpan span,
  List<DirectiveNode> directives = const [],
})  : assert(name != null),
      assert(fields != null),
      assert(directives != null),
      super(
        span: span,
        name: name,
        directives: directives,
      );