snapshot method
Captures the current interpreter state as a binary snapshot.
Implementation
@override
Future<Uint8List> snapshot() async {
final response = await _send<_SnapshotResponse>(
_SnapshotRequest(_nextId++),
);
return response.data;
}