Config constructor

const Config({
  1. @JsonKey(name: 'min_lint_length') @Default(0) int minLength,
  2. @JsonKey(name: 'lint_levels') @Default(LintLevels()) LintLevels lintLevels,
})

Implementation

const factory Config({
  @JsonKey(name: 'min_lint_length') @Default(0) int minLength,
  @JsonKey(name: 'lint_levels') @Default(LintLevels()) LintLevels lintLevels,
}) = _Config;