snapshotMessage static method

Map<String, dynamic> snapshotMessage(
  1. NeuronDebugSnapshot snapshot
)

Implementation

static Map<String, dynamic> snapshotMessage(NeuronDebugSnapshot snapshot) {
  return {
    'type': 'snapshot',
    'protocol': version,
    'data': snapshot.toJson(),
  };
}