IOSURLResponse class Null safety

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.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
headers Map<String, String>?
All HTTP header fields of the response.
read / write
mimeType String?
The MIME type of the response.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
statusCode int?
The response’s HTTP status code.
read / write
suggestedFilename String?
A suggested filename for the response data.
read / write
textEncodingName String?
The name of the text encoding provided by the response’s originating source.
read / write
url Uri?
The URL for the response.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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?