LoraAdapterDownloadCompletedRequest constructor

LoraAdapterDownloadCompletedRequest({
  1. String? adapterId,
  2. String? localPath,
  3. Int64? sizeBytes,
  4. String? checksumSha256,
  5. Int64? completedAtUnixMs,
  6. bool? imported,
  7. String? statusMessage,
})

Implementation

factory LoraAdapterDownloadCompletedRequest({
  $core.String? adapterId,
  $core.String? localPath,
  $fixnum.Int64? sizeBytes,
  $core.String? checksumSha256,
  $fixnum.Int64? completedAtUnixMs,
  $core.bool? imported,
  $core.String? statusMessage,
}) {
  final result = create();
  if (adapterId != null) result.adapterId = adapterId;
  if (localPath != null) result.localPath = localPath;
  if (sizeBytes != null) result.sizeBytes = sizeBytes;
  if (checksumSha256 != null) result.checksumSha256 = checksumSha256;
  if (completedAtUnixMs != null) result.completedAtUnixMs = completedAtUnixMs;
  if (imported != null) result.imported = imported;
  if (statusMessage != null) result.statusMessage = statusMessage;
  return result;
}