isSibling property

bool get isSibling

If this is a class similarly annotated by the current generator.

Useful for verifying whether or not to generate Serialize/Deserializers methods.

Implementation

bool get isSibling => _siblingClassChecker.isAssignableFromType(targetType);