NodeConfig constructor
NodeConfig({
- Int64? slot,
- Int64? slotDurationMillis,
- Int64? epochLength,
Implementation
factory NodeConfig({
$fixnum.Int64? slot,
$fixnum.Int64? slotDurationMillis,
$fixnum.Int64? epochLength,
}) {
final $result = create();
if (slot != null) {
$result.slot = slot;
}
if (slotDurationMillis != null) {
$result.slotDurationMillis = slotDurationMillis;
}
if (epochLength != null) {
$result.epochLength = epochLength;
}
return $result;
}