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