buildExtensions property Null safety

Map<String, List<String>> buildExtensions
inherited

Mapping from input file extension to output file extensions.

All input sources matching any key in this map will be passed as build step to this builder. Only files with the same basename and an extension from the values in this map are expected as outputs.

  • If an empty key exists, all inputs are considered matching.
  • A builder must always return the same configuration. Typically this will be const but may vary based on build arguments.
  • Most builders will use a single input extension and one or more output extensions.

Implementation

@override
Map<String, List<String>> get buildExtensions => {
      _inputExtension: [_outputExtension]
    };