isAccessor property

bool get isAccessor

Whether the invocation was a getter or a setter call.

Implementation

bool get isAccessor => isGetter || isSetter;