GenerateFn typedef
GenerateFn =
Future<GenerationResult> Function(GenerativeSource source)
Produces one generative asset, injected so the resolver is testable without a
network (tests pass a function returning a canned GenerationResult).
Implementation
typedef GenerateFn = Future<GenerationResult> Function(GenerativeSource source);