go method Null safety

void go(
  1. String location,
  2. {Object? extra}
)

Navigate to a location.

Implementation

void go(String location, {Object? extra}) =>
    GoRouter.of(this).go(location, extra: extra);