toJson method
Implementation
Map<String, Object?> toJson() => {
if (allThreadsStopped != null) 'allThreadsStopped': allThreadsStopped,
if (description != null) 'description': description,
if (hitBreakpointIds != null) 'hitBreakpointIds': hitBreakpointIds,
if (preserveFocusHint != null) 'preserveFocusHint': preserveFocusHint,
'reason': reason,
if (text != null) 'text': text,
if (threadId != null) 'threadId': threadId,
};