ReloadOptions class

Constructors

ReloadOptions({bool? ignoreCache, String? userAgent, String? injectedScript})
ReloadOptions.fromJS(ReloadOptions _wrapped)

Properties

hashCode int
The hash code for this object.
no setterinherited
ignoreCache bool?
When true, the loader will bypass the cache for all inspected page resources loaded before the load event is fired. The effect is similar to pressing Ctrl+Shift+R in the inspected window or within the Developer Tools window.
getter/setter pair
injectedScript String?
If specified, the script will be injected into every frame of the inspected page immediately upon load, before any of the frame's scripts. The script will not be injected after subsequent reloads-for example, if the user presses Ctrl+R.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS → ReloadOptions
no setter
userAgent String?
If specified, the string will override the value of the User-Agent HTTP header that's sent while loading the resources of the inspected page. The string will also override the value of the navigator.userAgent property that's returned to any scripts that are running within the inspected page.
getter/setter pair

Methods

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

Operators

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