toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (contexts != null)
'contexts': contexts!.map((value) => value.toJson()).toList(),
if (details != null) 'details': details!,
if (type != null) 'type': type!,
};