mintBuilder function

Builder mintBuilder(
  1. BuilderOptions options
)

Implementation

Builder mintBuilder(BuilderOptions options) => SharedPartBuilder([
      MintGenerator(
          options.config.containsKey('mixin_annotations')
              ? List<Map<String, String>>.from(
                  List<Map>.from(options.config['mixin_annotations'])
                      .map(Map<String, String>.from))
              : [],
          options.config.containsKey('child_annotations')
              ? List<Map<String, String>>.from(
                  List<Map>.from(options.config['child_annotations'])
                      .map(Map<String, String>.from))
              : [],
          options.config.containsKey('templates')
              ? Map<String, String>.from(options.config['templates'])
              : {})
    ], 'mint');