accepts method

bool accepts(
  1. DiagramPropertyField<Object?> field
)

Whether this editor renders field.

Implementation

bool accepts(DiagramPropertyField<Object?> field) =>
    field.presentation is DiagramCustomPresentation &&
    field.property.valueType == valueType;