HttpOptions class

Annotations
  • @immutable

Constructors

HttpOptions({HttpResponseType? responseType, int? connectTimeout, int? sendTimeout, int? receiveTimeout, Map<String, dynamic>? headers})
const
HttpOptions.from({String? responseType, int? connectTimeout, int? sendTimeout, int? receiveTimeout, Map<String, dynamic>? headers})

Properties

connectTimeout int?
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>?
final
receiveTimeout int?
final
responseType HttpResponseType?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendTimeout int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

className → const String