getUnnecessaryNullableConfigFromArgs static method

UnnecessaryNullableConfig getUnnecessaryNullableConfigFromArgs(
  1. Iterable<String> excludePatterns, {
  2. required bool isMonorepo,
  3. required bool shouldPrintConfig,
})

Creates a raw unnecessary nullable config from given excludePatterns.

Implementation

static UnnecessaryNullableConfig getUnnecessaryNullableConfigFromArgs(
  Iterable<String> excludePatterns, {
  required bool isMonorepo,
  required bool shouldPrintConfig,
}) =>
    UnnecessaryNullableConfig.fromArgs(
      excludePatterns,
      isMonorepo: isMonorepo,
      shouldPrintConfig: shouldPrintConfig,
    );