GroundingAttribution.fromJson constructor

GroundingAttribution.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GroundingAttribution.fromJson(Map<String, dynamic> json) {
  return GroundingAttribution(
    sourceId: decode(json['sourceId'], AttributionSourceId.fromJson),
    content: decode(json['content'], Content.fromJson),
  );
}