ChildBackButtonDispatcher constructor Null safety

ChildBackButtonDispatcher(
  1. BackButtonDispatcher parent
)

Creates a back button dispatcher that acts as the child of another.

The parent must not be null.

Implementation

ChildBackButtonDispatcher(this.parent) : assert(parent != null);