AggregateBuilder constructor

const AggregateBuilder({
  1. List<String> requiredImports = const <String>[],
})

Combine all @ConnectOfflineFirstWithRest and @Migratable classes and annotations

Since LibraryElement only reads from one file and not an entire directory, all relevant classes and annotation are inserted into copies of all input files. If there is ever a performance concern with build times, start here. Only one file is needed, but it is impossible to access LibraryReaders outside the build step of the created asset, and this was the only successful way amongst dozens. This does not output a file used by Brick in the app implementation.

See the build docs example for more.

Implementation

const AggregateBuilder({this.requiredImports = const <String>[]});