getWarningAndErrors method
Implementation
@override
EditorWarningAndErrorsEntity getWarningAndErrors(
ID nodeID, BuildContext context) {
if (values.isEmpty) {
return EditorWarningAndErrorsEntity(
warnings: [
EditorWarningEntity(
message: 'Values must be set',
nodeID: nodeID,
),
],
);
}
return const EditorWarningAndErrorsEntity();
}