isRouteModule property

bool isRouteModule
latefinalinherited

Whether this coordinator is a part of a CoordinatorModular.

If it is a part of a CoordinatorModular, it will not have a root path. And it will not be able to use routerDelegate and routeInformationParser.

Implementation

late final bool isRouteModule = () {
  try {
    coordinator;
    return true;
  } on UnimplementedError {
    return false;
  }
}();