place_parsing library
Functions
-
buildFieldMask(
List< PlaceField> fields, {String? prefix}) → String -
Builds the
X-Goog-FieldMaskheader value for a list ofinter.PlaceFields. -
parsePlaceFromJson(
Map< String, Object?> json) → Place -
Parses a Places API v2 JSON response into a platform interface
inter.Place. -
placeFieldToApiName(
PlaceField field) → String -
Maps a
inter.PlaceFieldto the Places API v2 REST field name.