WorkerPerformance 类
- 继承
-
- Object
- EventTarget
- WorkerPerformance
- 注解
-
- @Native("WorkerPerformance")
属性
- hashCode → int
- 此对象的哈希码。无设置器继承
- memory → MemoryInfo?
-
无设置器
- on → Events
- 这是事件流的便捷访问器,仅当没有可用的显式访问器时才应使用。无设置器继承
- runtimeType → Type
- 对象的运行时类型表示。无设置器继承
- timeOrigin → num?
-
无设置器
方法
-
addEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
继承
-
clearMarks(
String? markName) → void -
clearMeasures(
String? measureName) → void -
clearResourceTimings(
) → void -
dispatchEvent(
Event event) → bool -
继承
-
getEntries(
) → List< PerformanceEntry> -
getEntriesByName(
String name, String? entryType) → List< PerformanceEntry> -
getEntriesByType(
String entryType) → List< PerformanceEntry> -
mark(
String markName) → void -
measure(
String measureName, String? startMark, String? endMark) → void -
noSuchMethod(
Invocation invocation) → dynamic - 当访问不存在的方法或属性时被调用。继承
-
now(
) → double -
removeEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
继承
-
setResourceTimingBufferSize(
int maxSize) → void -
toString(
) → String - 此对象的字符串表示形式。继承
运算符
-
operator ==(
Object other) → bool - 相等运算符。继承