accepts method

bool accepts(
  1. Object? subject
)

Whether subject is something this property edits.

Implementation

bool accepts(Object? subject) => subject is S;