getUnnecessaryNullableConfigFromArgs static method

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

Creates a raw unnecessary nullable config from given excludePatterns.

Implementation

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