takeHeapSnapshot abstract method
Take a V8 heap snapshot.
Triggers a V8 heap snapshot of the current process and returns the snapshot file. Used for diagnosing memory leaks. Requires SYSTEM_HEAP_SNAPSHOT permission.
Implementation
@POST('/admin/system/heap-snapshot')
Future<HeapSnapshotResponse> takeHeapSnapshot();