UsageEventsConfig class
Configures memory usage tracking.
onUsageEvent will be triggered when rss value changes more then by deltaMb since previous onUsageEvent. First onUsageEvent will be triggered immediately.
Constructors
- UsageEventsConfig(UsageCallback onUsageEvent, {int deltaMb = 128})
-
const
Properties
- deltaMb → int
-
Change in memory usage to trigger onUsageEvent.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onUsageEvent → UsageCallback
-
A callback that is called when a snapshot is taken.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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