getWarningAndErrors method
Implementation
@override
EditorWarningAndErrorsEntity getWarningAndErrors(
ID nodeID, BuildContext context) {
if (cubitID == null) {
return EditorWarningAndErrorsEntity(
errors: [
EditorErrorEntity(
nodeID: nodeID,
message: 'Cubit ID is required',
),
],
);
}
return const EditorWarningAndErrorsEntity();
}