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