stage property

Stage? stage

Returns the stage this object is on or null if it's not on a stage.

Implementation

Stage? get stage {
  return base is Stage ? base as Stage? : null;
}