toMap method

Map<String, Object> toMap()
inherited

Implementation

Map<String, Object> toMap() {
  return <String, Object>{
    keyQ: filter,
    keyLimit: limit,
    if (collation != null) keyCollation: collation!.options,
    if (hint != null)
      keyHint: hint!
    else if (hintDocument != null)
      keyHint: hintDocument!,
  };
}