ResourceType enum

Inheritance
Available extensions

Values

mainFrame → const ResourceType

Specifies the resource as the main frame.

const ResourceType('main_frame')
subFrame → const ResourceType

Specifies the resource as a sub frame.

const ResourceType('sub_frame')
stylesheet → const ResourceType

Specifies the resource as a stylesheet.

const ResourceType('stylesheet')
script → const ResourceType

Specifies the resource as a script.

const ResourceType('script')
image → const ResourceType

Specifies the resource as an image.

const ResourceType('image')
font → const ResourceType

Specifies the resource as a font.

const ResourceType('font')
object → const ResourceType

Specifies the resource as an object.

const ResourceType('object')
xmlhttprequest → const ResourceType

Specifies the resource as an XMLHttpRequest.

const ResourceType('xmlhttprequest')
ping → const ResourceType

Specifies the resource as a ping.

const ResourceType('ping')
cspReport → const ResourceType

Specifies the resource as a Content Security Policy (CSP) report.

const ResourceType('csp_report')
media → const ResourceType

Specifies the resource as a media object.

const ResourceType('media')
websocket → const ResourceType

Specifies the resource as a WebSocket.

const ResourceType('websocket')
webbundle → const ResourceType

Specifies the resource as a WebBundle.

const ResourceType('webbundle')
other → const ResourceType

Specifies the resource as a type not included in the listed types.

const ResourceType('other')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS String
no setter
value String
final

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

Static Methods

fromJS(String value) ResourceType

Constants

values → const List<ResourceType>
A constant List of the values in this enum, in order of their declaration.