WatchResponse constructor

WatchResponse({
  1. Iterable<Row>? rows,
  2. Value? result,
  3. bool? singleResult,
})

Implementation

factory WatchResponse({
  $core.Iterable<Row>? rows,
  Value? result,
  $core.bool? singleResult,
}) {
  final result$ = create();
  if (rows != null) result$.rows.addAll(rows);
  if (result != null) result$.result = result;
  if (singleResult != null) result$.singleResult = singleResult;
  return result$;
}