generationConfig function
Helper method to construct a GenerationConfig in a DSL-like manner.
Implementation
GenerationConfig generationConfig(void Function(GenerationConfigBuilder) init) {
var builder = GenerationConfigBuilder();
init(builder);
return builder.build();
}