EpochData constructor
EpochData({})
Implementation
factory EpochData({
$fixnum.Int64? epoch,
$fixnum.Int64? eon,
$fixnum.Int64? era,
$core.bool? isComplete,
$fixnum.Int64? startHeight,
$fixnum.Int64? endHeight,
$fixnum.Int64? startSlot,
$fixnum.Int64? endSlot,
$fixnum.Int64? startTimestamp,
$fixnum.Int64? endTimestamp,
$fixnum.Int64? transactionCount,
$3.Int128? totalTransactionReward,
$3.Int128? activeStake,
$3.Int128? inactiveStake,
$fixnum.Int64? dataBytes,
}) {
final $result = create();
if (epoch != null) {
$result.epoch = epoch;
}
if (eon != null) {
$result.eon = eon;
}
if (era != null) {
$result.era = era;
}
if (isComplete != null) {
$result.isComplete = isComplete;
}
if (startHeight != null) {
$result.startHeight = startHeight;
}
if (endHeight != null) {
$result.endHeight = endHeight;
}
if (startSlot != null) {
$result.startSlot = startSlot;
}
if (endSlot != null) {
$result.endSlot = endSlot;
}
if (startTimestamp != null) {
$result.startTimestamp = startTimestamp;
}
if (endTimestamp != null) {
$result.endTimestamp = endTimestamp;
}
if (transactionCount != null) {
$result.transactionCount = transactionCount;
}
if (totalTransactionReward != null) {
$result.totalTransactionReward = totalTransactionReward;
}
if (activeStake != null) {
$result.activeStake = activeStake;
}
if (inactiveStake != null) {
$result.inactiveStake = inactiveStake;
}
if (dataBytes != null) {
$result.dataBytes = dataBytes;
}
return $result;
}