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