Hibok
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

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