NativeRuntime class abstract final

Functionality available on the native runtime.

Annotations
  • @Since.new('3.0')

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Properties

buildId String?
The build ID for the running application.
no setter

Static Methods

stopStreamingTimeline() → void
Finishes capturing of timeline data started by streamTimelineTo.
streamTimelineTo(TimelineRecorder recorder, {String? path, List<TimelineStream> streams = const [TimelineStream.dart, TimelineStream.gc], bool enableProfiler = false, Duration samplingInterval = const Duration(microseconds: 1000)}) → void
Tells runtime to write timeline data using recorder.
writeHeapSnapshotToFile(String filepath) → void
Writes a snapshot of the heap to filepath.