RequestInfo constructor

RequestInfo({
  1. String? version,
  2. Int64? blockVersion,
  3. Int64? p2pVersion,
})

Implementation

factory RequestInfo({
  $core.String? version,
  $fixnum.Int64? blockVersion,
  $fixnum.Int64? p2pVersion,
}) {
  final _result = create();
  if (version != null) {
    _result.version = version;
  }
  if (blockVersion != null) {
    _result.blockVersion = blockVersion;
  }
  if (p2pVersion != null) {
    _result.p2pVersion = p2pVersion;
  }
  return _result;
}