ExchangeFormatRouter<SettingType> class

Constructors

ExchangeFormatRouter(Router router, SettingType sharedSettings)

Properties

hashCode int
The hash code for this object.
no setterinherited
router ↔ Router
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharedSettings ↔ SettingType
getter/setter pair

Methods

add<RequestType, ResponseDataSuccess, ResponseDataFailed, RequestSerialized, ResponseDataSuccessSerialized, ResponseDataFailedSerialized>(ExchangeFormat<RequestType, ResponseDataSuccess, ResponseDataFailed, RequestSerialized, ResponseDataSuccessSerialized, ResponseDataFailedSerialized, SettingType> exchangeFormat, Future<ExchangeResponse<ResponseDataSuccess, ResponseDataFailed>> exchangeFormatHandler(RequestType req), {required RequestSerialized deserializeRequestFromMap(Map<String, dynamic> map)}) → void
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