KeepAliveNotification constructor Null safety

const KeepAliveNotification(
  1. Listenable handle
)

Creates a notification to indicate that a subtree must be kept alive.

The handle must not be null.

Implementation

const KeepAliveNotification(this.handle) : assert(handle != null);