buildReqLibrary function

Library buildReqLibrary(
  1. SourceNode docSource,
  2. String partUrl
)

Implementation

Library buildReqLibrary(
  SourceNode docSource,
  String partUrl,
) =>
    Library(
      (b) => b
        ..directives.add(Directive.part(partUrl))
        ..body.addAll(
          buildOperationReqClasses(
            docSource,
          ),
        ),
    );