code constant
LintCode
const code
Implementation
static const LintCode code = LintCode(
'require_json_serializable_from_json',
'@JsonSerializable classes must declare `factory ClassName.fromJson(Map<String, dynamic> json)`.',
severity: DiagnosticSeverity.WARNING,
);