Cursor constructor

Cursor({
  1. Iterable<Value>? values,
  2. bool? before,
})

Implementation

factory Cursor({
  $core.Iterable<$1.Value>? values,
  $core.bool? before,
}) {
  final $result = create();
  if (values != null) {
    $result.values.addAll(values);
  }
  if (before != null) {
    $result.before = before;
  }
  return $result;
}