toJson method
Returns a JSON-serialisable summary of this service.
Implementation
@override
Map<String, Object?> toJson() => <String, Object?>{
'outputPath': outputPath,
'writeToFile': writeToFile,
'retainInMemory': retainInMemory,
'format': format.name,
'signalCount': _signalHandles.length,
'timescale': timescale.vcdValue,
if (startTime != null) 'startTime': startTime,
if (stopTime != null) 'stopTime': stopTime,
'enableDevToolsStreaming': enableDevToolsStreaming,
'writer': _writer.toJson(),
};