IOSURLResponse class

Constructors

IOSURLResponse({Uri? url, required int expectedContentLength, String? mimeType, String? suggestedFilename, String? textEncodingName, Map<String, String>? headers, int? statusCode})

Properties

expectedContentLength int
The expected length of the response’s content.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
All HTTP header fields of the response.
getter/setter pair
mimeType String?
The MIME type of the response.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
The response’s HTTP status code.
getter/setter pair
suggestedFilename String?
A suggested filename for the response data.
getter/setter pair
textEncodingName String?
The name of the text encoding provided by the response’s originating source.
getter/setter pair
url Uri?
The URL for the response.
getter/setter pair

Methods

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

Operators

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

Static Methods

fromMap(Map<String, dynamic>? map) IOSURLResponse?