ActivityRouteState constructor

ActivityRouteState(
  1. Uri uri, {
  2. Map<String, String> pathParameters = const {},
  3. Object? extra,
  4. String? name,
  5. String? fullPath,
  6. ValueKey<String>? pageKey,
  7. Exception? error,
})

Implementation

ActivityRouteState(
  this.uri, {
  Map<String, String> pathParameters = const {},
  this.extra,
  this.name,
  this.fullPath,
  ValueKey<String>? pageKey,
  this.error,
}) : pathParameters = Map.unmodifiable(pathParameters),
     pageKey = pageKey ?? ValueKey(uri.toString());