ProtoProgressUpdate constructor

ProtoProgressUpdate({
  1. Int64? bytesSent,
  2. Int64? imageSize,
  3. double? timestamp,
})

Implementation

factory ProtoProgressUpdate({
  $fixnum.Int64? bytesSent,
  $fixnum.Int64? imageSize,
  $core.double? timestamp,
}) {
  final $result = create();
  if (bytesSent != null) {
    $result.bytesSent = bytesSent;
  }
  if (imageSize != null) {
    $result.imageSize = imageSize;
  }
  if (timestamp != null) {
    $result.timestamp = timestamp;
  }
  return $result;
}