FlutterTargetFileProcessor constructor Null safety

FlutterTargetFileProcessor(
  1. String source,
  2. String destination,
  3. String flavorName,
  4. {required Flavorizr config}
)

Implementation

FlutterTargetFileProcessor(
  String source,
  String destination,
  String flavorName, {
  required Flavorizr config,
}) : super(
        [
          CopyFileProcessor(
            source,
            '$destination/main-$flavorName.dart',
            config: config,
          ),
          RuntimeFileStringProcessor(
            '$destination/main-$flavorName.dart',
            ReplaceStringProcessor(
              '[[FLAVOR_NAME]]',
              flavorName.toUpperCase(),
              config: config,
            ),
            config: config,
          ),
        ],
        config: config,
      );