setDictionary method Null safety

void setDictionary(
  1. Dictionary? value,
  2. {required String name}
)

Set a Dictionary to the query parameter referenced by the given name.

In N1QL queries, a parameter is referenced by prefixing an identifier with $. For example, this query defines a parameter with the name TYPE:

SELECT * FROM _ WHERE type = $TYPE;

When building a query through the QueryBuilder, you can create a parameter expression with Expression.parameter.

Implementation

void setDictionary(Dictionary? value, {required String name});