GetBlockchainInfoResponse constructor
GetBlockchainInfoResponse({})
Implementation
factory GetBlockchainInfoResponse({
GetBlockchainInfoResponse_BitcoinNet? bitcoinNet,
$core.int? bestHeight,
$core.List<$core.int>? bestBlockHash,
$core.double? difficulty,
$fixnum.Int64? medianTime,
$core.bool? txIndex,
$core.bool? addrIndex,
$core.bool? slpIndex,
$core.bool? slpGraphsearch,
}) {
final _result = create();
if (bitcoinNet != null) {
_result.bitcoinNet = bitcoinNet;
}
if (bestHeight != null) {
_result.bestHeight = bestHeight;
}
if (bestBlockHash != null) {
_result.bestBlockHash = bestBlockHash;
}
if (difficulty != null) {
_result.difficulty = difficulty;
}
if (medianTime != null) {
_result.medianTime = medianTime;
}
if (txIndex != null) {
_result.txIndex = txIndex;
}
if (addrIndex != null) {
_result.addrIndex = addrIndex;
}
if (slpIndex != null) {
_result.slpIndex = slpIndex;
}
if (slpGraphsearch != null) {
_result.slpGraphsearch = slpGraphsearch;
}
return _result;
}