KeepAlive constructor Null safety
Marks a child as needing to remain alive.
The child
and keepAlive arguments must not be null.
Implementation
const KeepAlive({
super.key,
required this.keepAlive,
required super.child,
}) : assert(child != null),
assert(keepAlive != null);