clientstub_generator library

Functions

findPackageRoot(String path) String?
generateClientStubs(List<DescriptionImportPair> descriptions, String outputDirectory, {bool updatePubspec = false}) List<GenerateResult>
Generate client stubs for a set of API descriptions with a corresponding import map. This is used to generate client stubs inside the same package as the server API and uses the same message classes as used on the server side.