MiddlewareFile class

A class containing metadata regarding a route directory.

Constructors

MiddlewareFile({required String name, required String path})
A class containing metadata regarding a route directory.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The alias for the current directory.
final
path String
The import path for the current instance.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? name, String? path}) MiddlewareFile
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