PerformanceModeRequestHandle class Null safety

An opaque handle that keeps a request for DartPerformanceMode active until disposed.

To create a PerformanceModeRequestHandle, use SchedulerBinding.requestPerformanceMode. The component that makes the request is responsible for disposing the handle.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

dispose() → void
Call this method to signal to SchedulerBinding that a request for a DartPerformanceMode is no longer needed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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