FetchOptions class
- Annotations
-
- @freezed
Constructors
-
FetchOptions({required String method, required Uri url, HttpxHeaders? headers, Iterable<
HttpxCredentials> ? realmsCredentials, Map<String, StructuredDataEncoder> ? structuredDataEncoders, Map<String, StructuredDataDecoder> ? structuredDataDecoders, TypedDataEncoder? defaultTypedDataEncoder, TypedDataDecoder? defaultTypedDataDecoder, int? maxRedirects, HttpxCachePolicy? cachePolicy, dynamic metadata, Duration? connectionTimeout}) -
constfactory
Properties
- cachePolicy → HttpxCachePolicy?
-
no setterinherited
- connectionTimeout → Duration?
-
no setterinherited
-
copyWith
→ $FetchOptionsCopyWith<
FetchOptions> -
no setterinherited
- defaultTypedDataDecoder → TypedDataDecoder?
-
no setterinherited
- defaultTypedDataEncoder → TypedDataEncoder?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → HttpxHeaders?
-
no setterinherited
- maxRedirects → int?
-
no setterinherited
- metadata → dynamic
-
no setterinherited
- method → String
-
no setterinherited
-
realmsCredentials
→ Iterable<
HttpxCredentials> ? -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
structuredDataDecoders
→ Map<
String, StructuredDataDecoder> ? -
no setterinherited
-
structuredDataEncoders
→ Map<
String, StructuredDataEncoder> ? -
no setterinherited
- url → Uri
-
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