WebResourceResponse class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true, checked: true)

Constructors

WebResourceResponse({String? contentType, String? contentEncoding, Uint8List? data, Map<String, String>? headers, int? statusCode, String? reasonPhrase})
WebResourceResponse.fromJson(Map<String, dynamic> json)
factory

Properties

contentEncoding → String?
final
contentType → String?
final
data → Uint8List?
final
hashCode → int
The hash code for this object.
no setteroverride
headers → Map<String, String>?
final
reasonPhrase → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode → int?
final

Methods

copyWith({String? contentType, String? contentEncoding, Uint8List? data, Map<String, String>? headers, int? statusCode, String? reasonPhrase}) → WebResourceResponse
copyWithWebResourceResponse({String? contentType, String? contentEncoding, Uint8List? data, Map<String, String>? headers, int? statusCode, String? reasonPhrase}) → WebResourceResponse
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchWithWebResourceResponse([WebResourceResponsePatch? patchInput]) → WebResourceResponse
toJson() → Map<String, dynamic>

Available on WebResourceResponse, provided by the WebResourceResponseSerialization extension

toJsonLean() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override