LintLevels constructor

const LintLevels({
  1. @Default(LintLevel.warning) @JsonKey(name: 'hardcoded_string') LintLevel hardcodedString,
  2. @Default(LintLevel.error) @JsonKey(name: 'invalid_ditto_keyword') LintLevel invalidDittoKeyword,
})

Implementation

const factory LintLevels({
  @Default(LintLevel.warning)
  @JsonKey(name: 'hardcoded_string')
      LintLevel hardcodedString,
  @Default(LintLevel.error)
  @JsonKey(name: 'invalid_ditto_keyword')
      LintLevel invalidDittoKeyword,
}) = _LintLevels;