isV8HeapSnapshot static method

bool isV8HeapSnapshot(
  1. Object m
)

Returns true if the given JSON object is likely to be a serialized snapshot using V8 heap snapshot format.

Implementation

static bool isV8HeapSnapshot(Object m) =>
    m is Map<String, dynamic> && m.containsKey('snapshot');