erase method

void erase({
  1. bool push = false,
})

Changes router location to the Routes.erase page.

Implementation

void erase({bool push = false}) => (push ? this.push : go)(Routes.erase);