owner top-level property

Effect? get owner

The current effect that owns this context.

Implementation

Effect? get owner {
  final (sideEffects, push: _, pull: _) = effects;
  return sideEffects.lastOrNull;
}