RequestParams class
- Available extensions
- Annotations
- 
    - @freezed
 
Constructors
- 
          RequestParams({@Default.new(true) bool showErrorMsg, @Default.new("loading...") String loadingText, String? contentType, @Default.new({}) Map<String, dynamic> headers, @Default.new(true) bool showDefaultLoading, @JsonKey.new(name: 'data', toJson: _dataToJson) dynamic data, ResponseType? responseType, bool? nullParams, @JsonKey.new(includeToJson: false, includeFromJson: false, fromJson: null, toJson: null) RequestEncoder? requestEncoder, @JsonKey.new(includeToJson: false, includeFromJson: false, fromJson: null, toJson: null) DioStart? dioStart, bool? returnIsString, @JsonKey.new(includeToJson: false, includeFromJson: false, fromJson: null, toJson: null) @Default.new(false) bool isFullUrl, @JsonKey.new(includeToJson: false, includeFromJson: false, fromJson: null, toJson: null) InterceptorCall? interceptorCall, @JsonKey.new(includeToJson: false, includeFromJson: false, fromJson: null, toJson: null) UrlParseFormat? urlParseFormat, @JsonKey.new(includeToJson: false, includeFromJson: false, fromJson: null, toJson: null) ResponseResultCallback? responseResultCallback, Map<String, dynamic> ? extra, @JsonKey.new(includeToJson: false, includeFromJson: false, fromJson: null, toJson: null) CancelToken? cancelToken})
- 
          
            constfactory
- 
          RequestParams.fromJson(Map<String, dynamic> json)
- 
          
            factory
Properties
- cancelToken → CancelToken?
- 
  
  no setterinherited
- contentType → String?
- 
  
  no setterinherited
- 
  copyWith
  → $RequestParamsCopyWith<RequestParams> 
- 
  
  no setterinherited
- data → dynamic
- 
  
  no setterinherited
- dataModel → DartTypeModel
- 
      Available on RequestParams, provided by the RequestParamsex extension no setter
- dioStart → DioStart?
- 
  
  no setterinherited
- 
  extra
  → Map<String, dynamic> ?
- 
  
  no setterinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- 
  headers
  → Map<String, dynamic> 
- 
  
  no setterinherited
- interceptorCall → InterceptorCall?
- 
  
  no setterinherited
- isFullUrl → bool
- 
  
  no setterinherited
- loadingText → String
- 
  
  no setterinherited
- nullParams → bool?
- 
  
  no setterinherited
- requestEncoder → RequestEncoder?
- 
  
  no setterinherited
- responseResultCallback → ResponseResultCallback?
- 
  
  no setterinherited
- responseType → ResponseType?
- 
  
  no setterinherited
- returnIsString → bool?
- 
  
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- showDefaultLoading → bool
- 
  
  no setterinherited
- showErrorMsg → bool
- 
  
  no setterinherited
- urlParseFormat → UrlParseFormat?
- 
  
  no setterinherited
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited