Hibok
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

22 Zeilen
624 B

  1. /// Autocomplete results item returned from Google will be deserialized
  2. /// into this model.
  3. class AutoCompleteItem {
  4. /// The id of the place. This helps to fetch the lat,lng of the place.
  5. String id;
  6. /// The text (name of place) displayed in the autocomplete suggestions list.
  7. String text;
  8. /// Assistive index to begin highlight of matched part of the [text] with
  9. /// the original query
  10. int offset;
  11. /// Length of matched part of the [text]
  12. int length;
  13. @override
  14. String toString() {
  15. return 'AutoCompleteItem{id: $id, text: $text, offset: $offset, length: $length}';
  16. }
  17. }