isParent property Null safety

bool isParent

Implementation

bool get isParent => generator != null;