ProtoProgressUpdateStreamArg constructor

ProtoProgressUpdateStreamArg({
  1. String? uuid,
  2. bool? done,
  3. ProtoError? error,
  4. ProtoProgressUpdate? progressUpdate,
})

Implementation

factory ProtoProgressUpdateStreamArg({
  $core.String? uuid,
  $core.bool? done,
  ProtoError? error,
  ProtoProgressUpdate? progressUpdate,
}) {
  final $result = create();
  if (uuid != null) {
    $result.uuid = uuid;
  }
  if (done != null) {
    $result.done = done;
  }
  if (error != null) {
    $result.error = error;
  }
  if (progressUpdate != null) {
    $result.progressUpdate = progressUpdate;
  }
  return $result;
}