RouteSettings class Null safety

Data that might be useful in constructing a Route.

Implementers
Annotations

Constructors

RouteSettings({String? name, Object? arguments})
Creates data used to construct routes.
const

Properties

arguments Object?
The arguments passed to this route. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
name String?
The name of the route (e.g., "/settings"). [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copyWith({String? name, Object? arguments}) RouteSettings
Creates a copy of this route settings object with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited