Google Places Models
A mason brick to populate a Dart package including models to handle JSON objects from the Google Places API.
? This brick uses very_good_cli for the creation of the
google_places_models package. Therefore, this package features the same directory structure,
.github contents, and additional configurations found in a dart package created with the following command:
very_good create -t dart_pkg
Note: This brick uses
Super Initializers for the dart models. Therefore, make sure you’re using dart 2.17 on your end.
? How to use
mason make google_places_models
The intention of this brick is to facilitate and speed up the handling of the JSON objects returned from various Google Places API endpoints (https://maps.googleapis.com/maps/api/place/).
It currently supports:
- Place Details – /details
- Find Place – /findplacefromtext
- Nearby Search – /nearbysearch
Pull Requests to enhance and extend the package support are always welcome ?
||A Dart package that helps to implement value based equality without needing to explicitly override == and hashCode. See docs.|
||Classes and helper functions that support JSON code generation via the
||A build system for Dart code generation and modular compilation. See docs.|
||Automatically generate code for converting to and from JSON by annotating Dart classes. See docs.|
||Lint rules for Dart and Flutter used internally at Very Good Ventures. See docs.|
See GitHub repository to check the directory structure.