NetworkOptions class Null safety
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?
-
read / write
-
extra
↔ Map<
String, dynamic> ? -
read / write
- followRedirects ↔ bool?
-
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
headers
↔ Map<
String, dynamic> ? -
read / write
- listFormat ↔ ListFormat?
-
read / write
- maxRedirects ↔ int?
-
read / write
- method ↔ String?
-
read / write
- receiveDataWhenStatusError ↔ bool?
-
read / write
- receiveTimeout ↔ int?
-
read / write
- requestEncoder ↔ RequestEncoder?
-
read / write
- responseDecoder ↔ ResponseDecoder?
-
read / write
- responseType ↔ ResponseType?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sendTimeout ↔ int?
-
read / write
- validateStatus ↔ ValidateStatus?
-
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited