ResourceType enum

This describes the resource type of the network request.

Inheritance
Available extensions

Values

mainFrame → const ResourceType
const ResourceType('main_frame')
subFrame → const ResourceType
const ResourceType('sub_frame')
stylesheet → const ResourceType
const ResourceType('stylesheet')
script → const ResourceType
const ResourceType('script')
image → const ResourceType
const ResourceType('image')
font → const ResourceType
const ResourceType('font')
object → const ResourceType
const ResourceType('object')
xmlhttprequest → const ResourceType
const ResourceType('xmlhttprequest')
ping → const ResourceType
const ResourceType('ping')
cspReport → const ResourceType
const ResourceType('csp_report')
media → const ResourceType
const ResourceType('media')
websocket → const ResourceType
const ResourceType('websocket')
webtransport → const ResourceType
const ResourceType('webtransport')
webbundle → const ResourceType
const ResourceType('webbundle')
other → const ResourceType
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.