IOSBuildConfigurationsProcessor constructor Null safety

IOSBuildConfigurationsProcessor(
  1. String process,
  2. String script,
  3. String project,
  4. String file,
  5. String flavorName,
  6. String bundleId,
  7. Map<String, dynamic> buildConfigurations,
  8. {required Flavorizr config}
)

Implementation

IOSBuildConfigurationsProcessor(
  String process,
  String script,
  String project,
  String file,
  String flavorName,
  String bundleId,
  Map<String, dynamic> buildConfigurations, {
  required Flavorizr config,
}) : super(
        Target.values.map(
          (target) => ShellProcessor(
            process,
            [
              script,
              project,
              IOSUtils.flatPath('$file/$flavorName${target.name}.xcconfig'),
              flavorName,
              bundleId,
              target.name,
              base64.encode(utf8.encode(jsonEncode(buildConfigurations))),
            ],
            config: config,
          ),
        ),
        config: config,
      );