CheckpointVRF constructor

CheckpointVRF({
  1. int? checkpoint,
  2. Hash? hashPrevVrf,
})

Implementation

factory CheckpointVRF({
  int? checkpoint,
  Hash? hashPrevVrf,
}) {
  final _result = create();
  if (checkpoint != null) {
    _result.checkpoint = checkpoint;
  }
  if (hashPrevVrf != null) {
    _result.hashPrevVrf = hashPrevVrf;
  }
  return _result;
}