getWarningAndErrors method
Implementation
@override
EditorWarningAndErrorsEntity getWarningAndErrors(
ID nodeID,
BuildContext context,
) {
if (actions.isEmpty) {
return EditorWarningAndErrorsEntity(
warnings: [
EditorWarningEntity(
message: 'Workflow has no actions',
nodeID: nodeID,
),
],
);
}
return EditorWarningAndErrorsEntity.clear();
}