copy method
Creates a copy of this PageSettings object with optional parameters overridden.
Uses the cascade operator for cleaner syntax when creating a new instance with mostly the same properties as the original.
Implementation
PageSettings copy({
Uri? uri,
Object? arguments,
}) =>
PageSettings(
uri ?? this.uri,
arguments ?? this.arguments,
);