LoadedResource class Null safety

Class representing a resource response of the WebView. It is used by the method WebView.onLoadResource.

Constructors

LoadedResource({String? initiatorType, Uri? url, double? startTime, double? duration})

Properties

duration double?
Returns the DOMHighResTimeStamp duration to fetch a resource.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
initiatorType String?
A string representing the type of resource.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startTime double?
Returns the DOMHighResTimeStamp for the time a resource fetch started.
read / write
url Uri?
Resource URL.
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) LoadedResource?