ChainHead constructor
ChainHead({})
Implementation
factory ChainHead({
$0.ChainRef? chain,
$fixnum.Int64? height,
$core.String? blockId,
$fixnum.Int64? timestamp,
$core.List<$core.int>? weight,
$fixnum.Int64? reorg,
}) {
final result = create();
if (chain != null) result.chain = chain;
if (height != null) result.height = height;
if (blockId != null) result.blockId = blockId;
if (timestamp != null) result.timestamp = timestamp;
if (weight != null) result.weight = weight;
if (reorg != null) result.reorg = reorg;
return result;
}