applyWhenPossible method Null safety

  1. @override
ChangePage applyWhenPossible(
  1. {Slot? slot,
  2. ChangePageMode? mode}
)
override

Implementation

@override
ChangePage applyWhenPossible({Slot? slot, ChangePageMode? mode}) =>
    ChangePage(
      page,
      item,
      slot: this.slot ?? slot,
      mode: this.mode,
    );