Hibok
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

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