ServerRoute class

Server Route Representing Any Routes In Your Network Static Route /auth/signin Dynamic Route /user/{id}/posts/get

Constructors

ServerRoute(String _id, String _path, {Map<String, String>? defaultHeader, Map<String, String>? defaultBody})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDefaultBody() Map<String, dynamic>
Returns Default Body
getDefaultHeader() Map<String, dynamic>
Returns Default Header
getId() String
Returns Route Id
getPath({Map<String, String>? replacements}) String
Returns Path With Given Replacements
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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