SlotId constructor

SlotId({
  1. Int64? slot,
  2. BlockId? blockId,
})

Implementation

factory SlotId({
  $fixnum.Int64? slot,
  $2.BlockId? blockId,
}) {
  final _result = create();
  if (slot != null) {
    _result.slot = slot;
  }
  if (blockId != null) {
    _result.blockId = blockId;
  }
  return _result;
}