DefaultErrorRoute constructor

const DefaultErrorRoute({
  1. required String whereToUrl,
  2. String whereToText = goBack,
})

Implementation

const DefaultErrorRoute(
    {required this.whereToUrl, this.whereToText = goBack});