RequestParams class

Annotations
  • @freezed

Constructors

RequestParams({@Default(true) bool showErrorMsg, @Default("loading...") String loadingText, String? contentType, @Default({}) Map<String, dynamic> headers, @Default(true) bool showDefaultLoading, dynamic data, ResponseType? responseType, bool? nullParams, RequestEncoder? requestEncoder, DioStart? dioStart, bool? returnIsString, @Default(false) bool isFullUrl, InterceptorCall? interceptorCall, UrlParseFormat? urlParseFormat, ResponseResultCallback? responseResultCallback})
const
factory

Properties

contentType String?
no setterinherited
copyWith → $RequestParamsCopyWith<RequestParams>
no setterinherited
data → dynamic
no setterinherited
dioStart DioStart?
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
toString() String
A string representation of this object.
inherited

Operators

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