cachedBuilder function

Builder cachedBuilder(
  1. BuilderOptions options
)

it's function used by build runner

Implementation

Builder cachedBuilder(BuilderOptions options) {
  return PartBuilder(
    [
      CachedGenerator(
        config: Config.fromJson(options.config),
      ),
    ],
    '.cached.dart',
    header: '''
    // coverage:ignore-file
    // GENERATED CODE - DO NOT MODIFY BY HAND
    // ignore_for_file: type=lint
    ''',
  );
}