NetworkOptions class
Constructors
-
NetworkOptions({String? method, int? sendTimeout, int? receiveTimeout, Map<
String, dynamic> ? extra, Map<String, dynamic> ? headers, ResponseType? responseType, String? contentType, ValidateStatus? validateStatus, bool? receiveDataWhenStatusError, bool? followRedirects, int? maxRedirects, RequestEncoder? requestEncoder, ResponseDecoder? responseDecoder, ListFormat? listFormat})
Properties
- contentType ↔ String?
-
getter/setter pair
-
extra
↔ Map<
String, dynamic> ? -
getter/setter pair
- followRedirects ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
↔ Map<
String, dynamic> ? -
getter/setter pair
- listFormat ↔ ListFormat?
-
getter/setter pair
- maxRedirects ↔ int?
-
getter/setter pair
- method ↔ String?
-
getter/setter pair
- receiveDataWhenStatusError ↔ bool?
-
getter/setter pair
- receiveTimeout ↔ int?
-
getter/setter pair
- requestEncoder ↔ RequestEncoder?
-
getter/setter pair
- responseDecoder ↔ ResponseDecoder?
-
getter/setter pair
- responseType ↔ ResponseType?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendTimeout ↔ int?
-
getter/setter pair
- validateStatus ↔ ValidateStatus?
-
getter/setter pair
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