AptosRequestDetails class

Inheritance
  • Object
  • BaseServiceRequestParams
  • AptosRequestDetails

Constructors

AptosRequestDetails.new({required int requestID, required String pathParams, Map<String, String> headers = const {}, AptosRequestType aptosRequestType = AptosRequestType.fullnode, RequestServiceType requestType = RequestServiceType.get, List<int>? errorStatusCodes, List<int>? params})
const

Properties

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

Methods

body() List<int>?
override
copyWith({int? requestID, String? pathParams, RequestServiceType? type, Map<String, String>? headers, List<int>? params, AptosRequestType? aptosRequestType, List<int>? errorStatusCodes}) AptosRequestDetails
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseResponse<T>(List<int> bodyBytes, [int? statusCode]) → BaseServiceResponse<T>
inherited
toJson() Map<String, dynamic>
override
toResponse<T>(Object? body, [int? statusCode]) → BaseServiceResponse<T>
inherited
toString() String
A string representation of this object.
inherited
toUri(String uri) Uri
override

Operators

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