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