LintCode constructor

const LintCode(
  1. String name,
  2. String problemMessage, {
  3. String? correctionMessage,
  4. bool hasPublishedDocs = false,
  5. String? uniqueName,
})

Implementation

const LintCode(
  String name,
  String problemMessage, {
  super.correctionMessage,
  super.hasPublishedDocs,
  String? uniqueName,
}) : super(
        problemMessage: problemMessage,
        name: name,
        uniqueName: uniqueName ?? 'LintCode.$name',
      );