Hibok
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

20 rindas
623 B

  1. import 'package:google_maps_flutter/google_maps_flutter.dart';
  2. /// Nearby place data will be deserialized into this model.
  3. class NearbyPlace {
  4. /// The human-readable name of the location provided. This value is provided
  5. /// for [LocationResult.address] when the user selects this nearby place.
  6. String name;
  7. /// The icon identifying the kind of place provided. Eg. lodging, chapel,
  8. /// hospital, etc.
  9. String icon;
  10. // Latitude/Longitude of the provided location.
  11. LatLng latLng;
  12. @override
  13. String toString() {
  14. return 'NearbyPlace{name: $name, icon: $icon, latLng: $latLng}';
  15. }
  16. }