WriteResult constructor

WriteResult({
  1. Timestamp? updateTime,
  2. Iterable<Value>? transformResults,
})

Implementation

factory WriteResult({
  $2.Timestamp? updateTime,
  $core.Iterable<$0.Value>? transformResults,
}) {
  final $result = create();
  if (updateTime != null) {
    $result.updateTime = updateTime;
  }
  if (transformResults != null) {
    $result.transformResults.addAll(transformResults);
  }
  return $result;
}