toJson method
Implementation
Map<String, Object?> toJson() => {
'time': time.toIso8601String(),
'reason': reason,
if (inGlint) 'blame': 'glint',
if (frames.isNotEmpty) 'frames': frames,
if (source != null) 'source': source,
};