isMainObject property

bool get isMainObject

Implementation

bool get isMainObject => ref == mainObjectRef && ref != null;