hasTarget property

bool hasTarget
final

Whether the session is attached and has a target to render to. It's false from when RenderSessionHandle.releaseTarget() completes until you give the session a new target.

Implementation

final bool hasTarget;