NetworkConfig class
HTTP headers used for the request to the dataSource
.
Only for FileViewController.network.
Always empty for other document types.
Constructors
-
NetworkConfig({Map<
String, dynamic> ? queryParameters, CancelToken? cancelToken, bool? deleteOnError, String? lengthHeader, dynamic data, Options? options})
Properties
- cancelToken → CancelToken?
-
Dio.download
cancelToken
final - data → dynamic
-
Dio.download
data
final - deleteOnError → bool?
-
Dio.download
deleteOnError
final - hashCode → int
-
The hash code for this object.
no setterinherited
- lengthHeader → String?
-
Dio.download
lengthHeader
final - options → Options?
-
Dio.download
options
final -
queryParameters
→ Map<
String, dynamic> ? -
Dio.download
queryParameters
final - runtimeType → Type
-
A representation of the runtime type of the object.
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