GroundingChunk_Maps.fromJson constructor
GroundingChunk_Maps.fromJson(
- Object? j
Implementation
factory GroundingChunk_Maps.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return GroundingChunk_Maps(
uri: switch (json['uri']) {
null => null,
Object $1 => decodeString($1),
},
title: switch (json['title']) {
null => null,
Object $1 => decodeString($1),
},
text: switch (json['text']) {
null => null,
Object $1 => decodeString($1),
},
placeId: switch (json['placeId']) {
null => null,
Object $1 => decodeString($1),
},
placeAnswerSources: switch (json['placeAnswerSources']) {
null => null,
Object $1 => GroundingChunk_Maps_PlaceAnswerSources.fromJson($1),
},
);
}