ResourceType enum
This describes the resource type of the network request.
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
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.