GetBlockByIdRequest constructor

GetBlockByIdRequest({
  1. BlockId? blockId,
  2. ConfidenceFactor? confidenceFactor,
})

Implementation

factory GetBlockByIdRequest({
  $18.BlockId? blockId,
  $24.ConfidenceFactor? confidenceFactor,
}) {
  final _result = create();
  if (blockId != null) {
    _result.blockId = blockId;
  }
  if (confidenceFactor != null) {
    _result.confidenceFactor = confidenceFactor;
  }
  return _result;
}