BaseRequest class
- Implementers
Constructors
- 
          BaseRequest(Map<String, dynamic> _params, {Method method = Method.POST})
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- method ↔ Method
- 
  Defines The request method which can be Method.POST or Method.GET
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  addParam({required String key, required dynamic value}) → void 
- 
  This adds an entry with keyandvalueinto_paramsmap
- 
  addParams(Map< String, dynamic> values) → void
- 
  This add a map valuesinto_paramsmap
- 
  clearParams() → void 
- 
  Clears _paramsmap
- 
  has(String key) → bool 
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  params2Query() → String 
- Convert params map to query for using in requests with Method.GET method
- 
  removeParam({required String key}) → void 
- 
  Removes a param with keykey from_params
- 
  toJson() → String 
- 
  Converts _paramsto Json
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited