BaseServiceRequestParams class abstract

Constructors

BaseServiceRequestParams({required Map<String, String> headers, required RequestServiceType type, required int requestID, List<int>? successStatusCodes, List<int>? errorStatusCodes})
const

Properties

errorStatusCodes → List<int>?
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
final
requestID → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
successStatusCodes → List<int>?
final
type → RequestServiceType
final

Methods

body() → List<int>?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseResponse<T>(List<int> bodyBytes, [int? statusCode]) → BaseServiceResponse<T>
toJson() → Map<String, dynamic>
toResponse<T>(Object? body, [int? statusCode]) → BaseServiceResponse<T>
toString() → String
A string representation of this object.
inherited
toUri(String uri) → Uri

Operators

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