Hibok
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

20 rader
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. }