SlotData constructor

SlotData({
  1. SlotId? slotId,
  2. SlotId? parentSlotId,
  3. List<int>? rho,
  4. List<int>? eta,
  5. Int64? height,
})

Implementation

factory SlotData({
  SlotId? slotId,
  SlotId? parentSlotId,
  $core.List<$core.int>? rho,
  $core.List<$core.int>? eta,
  $fixnum.Int64? height,
}) {
  final _result = create();
  if (slotId != null) {
    _result.slotId = slotId;
  }
  if (parentSlotId != null) {
    _result.parentSlotId = parentSlotId;
  }
  if (rho != null) {
    _result.rho = rho;
  }
  if (eta != null) {
    _result.eta = eta;
  }
  if (height != null) {
    _result.height = height;
  }
  return _result;
}