userCatalogJsonBuilder function

Builder userCatalogJsonBuilder(
  1. BuilderOptions options
)

build_runner factory entry point for the package-wide customer-catalog JSON emitter. Walks every lib/**.dart for @RestageWidget-annotated classes and emits lib/src/widget_catalog/catalog.json from the same allocation as lib/user_catalog.g.dart, so a paywall referencing a registered custom widget resolves it against the catalog.

Implementation

Builder userCatalogJsonBuilder(BuilderOptions options) =>
    UserCatalogJsonBuilder(options);