getWarningAndErrors method
Implementation
@override
EditorWarningAndErrorsEntity getWarningAndErrors(
ID nodeID,
BuildContext context,
) {
if (componentID.isEmpty) {
return EditorWarningAndErrorsEntity(
errors: [
EditorErrorEntity(
message: 'Component ID is not set',
nodeID: nodeID,
),
],
);
}
return const EditorWarningAndErrorsEntity();
}