encodeGoToSourceRequest function
- List<
SourceFrame> frames, { - int index = 0,
Encode a goToSource request as a JSON string for stdio transport.
Implementation
String encodeGoToSourceRequest(List<SourceFrame> frames, {int index = 0}) =>
jsonEncode({
'method': 'rohd.goToSource',
'frames': frames.map((f) => f.toJson()).toList(),
'index': index,
});