ResourceType enum

Resource type as it was perceived by the rendering engine.

Inheritance
Available extensions

Values

document → const ResourceType
const ResourceType('Document')
stylesheet → const ResourceType
const ResourceType('Stylesheet')
image → const ResourceType
const ResourceType('Image')
media → const ResourceType
const ResourceType('Media')
font → const ResourceType
const ResourceType('Font')
script → const ResourceType
const ResourceType('Script')
textTrack → const ResourceType
const ResourceType('TextTrack')
xhr → const ResourceType
const ResourceType('XHR')
fetch → const ResourceType
const ResourceType('Fetch')
prefetch → const ResourceType
const ResourceType('Prefetch')
eventSource → const ResourceType
const ResourceType('EventSource')
webSocket → const ResourceType
const ResourceType('WebSocket')
manifest → const ResourceType
const ResourceType('Manifest')
signedExchange → const ResourceType
const ResourceType('SignedExchange')
ping → const ResourceType
const ResourceType('Ping')
cspViolationReport → const ResourceType
const ResourceType('CSPViolationReport')
preflight → const ResourceType
const ResourceType('Preflight')
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
value String
final

Methods

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

Operators

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

Constants

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