toJson method
override
Implementation
@override
Map<String, dynamic> toJson() => <String, Object?>{
'type': type,
'frames': frames?.map((f) => f.toJson()).toList(),
'messages': messages?.map((f) => f.toJson()).toList(),
'truncated': truncated ?? false,
if (asyncCausalFrames?.map((f) => f.toJson()).toList()
case final asyncCausalFramesValue?)
'asyncCausalFrames': asyncCausalFramesValue,
if (awaiterFrames?.map((f) => f.toJson()).toList()
case final awaiterFramesValue?)
'awaiterFrames': awaiterFramesValue,
};