data property

List<Map<String, dynamic>> data
final

List of Map to represent the suggestions shown to the user

You need to provide two properties id & display both are String You can also have any custom properties as you like to build custom suggestion widget.

Implementation

final List<Map<String, dynamic>> data;