RouteFile class
A class containing metadata regarding a route file.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The alias for the current file.
final
-
params
→ List<
String> -
The dynamic route params associated with the file.
final
- path → String
-
The import path for the current instance.
final
- route → String
-
The route used by router instances.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wildcard → bool
-
Whether the route is a wildcard route.
final
Methods
-
copyWith(
{String? name, String? path, String? route, List< String> ? params, bool? wildcard}) → RouteFile - Create a copy of the current instance and override zero or more values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Convert the current instance to a
Map<String, dynamic>
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited