toJson method

Map<String, dynamic> toJson()

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(),
    };