code constant

LintCode const code

Implementation

static const LintCode code = LintCode(
  'equality_incomplete',
  'All fields should be included in equality and hashCode: {0}',
  correctionMessage: 'Update == and hashCode to include all fields.',
);