ProtoGetBlocksRangeRequest constructor

ProtoGetBlocksRangeRequest({
  1. int? batchId,
  2. Int64? from,
  3. Int64? to,
})

Implementation

factory ProtoGetBlocksRangeRequest({
  $core.int? batchId,
  $fixnum.Int64? from,
  $fixnum.Int64? to,
}) {
  final _result = create();
  if (batchId != null) {
    _result.batchId = batchId;
  }
  if (from != null) {
    _result.from = from;
  }
  if (to != null) {
    _result.to = to;
  }
  return _result;
}