NodeConfig constructor

NodeConfig({
  1. Int64? slot,
  2. Int64? slotDurationMillis,
  3. 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;
}