copyWith method
Returns a configured copy of this.
Implementation
BeamState copyWith({
List<String>? pathPatternSegments,
Map<String, String>? pathParameters,
Map<String, String>? queryParameters,
Object? routeState,
}) =>
BeamState(
pathPatternSegments: pathPatternSegments ?? this.pathPatternSegments,
pathParameters: pathParameters ?? this.pathParameters,
queryParameters: queryParameters ?? this.queryParameters,
routeState: routeState ?? this.routeState,
)..configure();