GetLatestBlockResponse constructor

GetLatestBlockResponse({
  1. BlockID? blockId,
  2. Block? block,
})

Implementation

factory GetLatestBlockResponse({
  $3.BlockID? blockId,
  $4.Block? block,
}) {
  final _result = create();
  if (blockId != null) {
    _result.blockId = blockId;
  }
  if (block != null) {
    _result.block = block;
  }
  return _result;
}