MongoQuery constructor

MongoQuery({
  1. Map<String, Value>? keyValue,
  2. int? limit,
  3. int? offset,
})

Implementation

factory MongoQuery({
  $core.Map<$core.String, Value>? keyValue,
  $core.int? limit,
  $core.int? offset,
}) {
  final _result = create();
  if (keyValue != null) {
    _result.keyValue.addAll(keyValue);
  }
  if (limit != null) {
    _result.limit = limit;
  }
  if (offset != null) {
    _result.offset = offset;
  }
  return _result;
}