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;
}