SearchRow typedef

SearchRow = Map<String, Object>

The return type of SearchRowGetter callbacks.

This type is a Map of Strings to Objects. It represents a row to be inserted or updated in an FTS index table. Keys correspond to FTS index column names, while values are used to form the row. Supported value types include String and num for indexed columns; unindexed columns also accept Uint8List to store BLOBs. A column with SearchColumn.json set to true accepts a valid JSON string, which is stored in binary JSON format.

See also: SearchIndex.searchRowToParameters.

Implementation

typedef SearchRow = Map<String, Object>;