GroundingChunk.fromJson constructor
GroundingChunk.fromJson(
- Object? j
Implementation
factory GroundingChunk.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return GroundingChunk(
web: switch (json['web']) {
null => null,
Object $1 => GroundingChunk_Web.fromJson($1),
},
);
}