ProtoImageSlot constructor

ProtoImageSlot({
  1. Int64? image,
  2. Int64? slot,
  3. String? version,
  4. List<int>? hash,
  5. bool? bootable,
  6. bool? pending,
  7. bool? confirmed,
  8. bool? active,
  9. bool? permanent,
})

Implementation

factory ProtoImageSlot({
  $fixnum.Int64? image,
  $fixnum.Int64? slot,
  $core.String? version,
  $core.List<$core.int>? hash,
  $core.bool? bootable,
  $core.bool? pending,
  $core.bool? confirmed,
  $core.bool? active,
  $core.bool? permanent,
}) {
  final $result = create();
  if (image != null) {
    $result.image = image;
  }
  if (slot != null) {
    $result.slot = slot;
  }
  if (version != null) {
    $result.version = version;
  }
  if (hash != null) {
    $result.hash = hash;
  }
  if (bootable != null) {
    $result.bootable = bootable;
  }
  if (pending != null) {
    $result.pending = pending;
  }
  if (confirmed != null) {
    $result.confirmed = confirmed;
  }
  if (active != null) {
    $result.active = active;
  }
  if (permanent != null) {
    $result.permanent = permanent;
  }
  return $result;
}