Hibok
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

22 righe
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. }