diagnosticCode property

  1. @override
DiagnosticCode get diagnosticCode

The code to report for a violation.

Implementation

@override
DiagnosticCode get diagnosticCode => const LintCode(
  'widget_member_order',
  'Place members in the expected Flutter widget order.',
  correctionMessage: 'Move this member to its expected location.',
);