invalidComponent constant
DiagnosticCode
const invalidComponent
Implementation
static const invalidComponent = DiagnosticCode('invalid_component', Severity.error,
'A component document of the wrong shape: a "widget" without a type, a type that is not UpperCamelCase, or not exactly one root.');