ApiRequest<ResponseType, InnerType>  class 
 
Constructors
- 
          ApiRequest({String? requestId, bool hasPagination = false, bool isMultipart = false, List<Extra> ? extra, bool? ovveride500Error = true, Map<String, String> headers = const {}, Map<String, dynamic> query = const {}, ErrorDescription? error, String? nestedKey, String? method = ApiMethods.get, String dataKey = '', List<ApiInterceptor> interceptors = const [], String path = '', required String baseUrl, int timeout = 50, Map<String, dynamic> ? body})
- ApiRequest.dummy()
- 
          
            factory
Properties
- baseUrl → String
- 
  
  final
- 
  body
  → Map<String, dynamic> ?
- 
  
  final
- 
  build
  → ApiRequest<ResponseType, InnerType> 
- 
  
  no setter
- dataKey → String
- 
  
  final
- error → ErrorDescription?
- 
  
  final
- 
  extra
  → List<Extra> ?
- 
  
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- hasPagination → bool
- 
  
  final
- 
  headers
  → Map<String, String> 
- 
  
  final
- 
  interceptors
  → List<ApiInterceptor> 
- 
  
  final
- isMultipart → bool
- 
  
  final
- method → String?
- 
  
  final
- nestedKey → String?
- 
  
  final
- ovveride500Error → bool?
- 
  
  final
- path → String
- 
  
  final
- 
  query
  → Map<String, dynamic> 
- 
  
  final
- requestId → String
- 
  an ID used to track individual requests
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- timeout → int
- 
  
  final
- uri → Uri
- 
  
  no setter
Methods
- 
  copyWith({String? method, String? path, String? dataKey, String? baseUrl, bool? hasPagination, Pagination? pagination, List< Extra> ? extra, int? timeout, bool? ovveride500Error, bool? isMultipart, Map<String, dynamic> ? body, Map<String, String> ? headers, List<ApiInterceptor> ? interceptors, ErrorDescription? error, String? nestedKey, Map<String, dynamic> ? query}) → ApiRequest<ResponseType, InnerType> 
- 
  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