Edge constructor

Edge({
  1. required Neuron inputNeuron,
  2. required Neuron outputNeuron,
  3. double? weight,
})

Implementation

Edge({
  required this.inputNeuron,
  required this.outputNeuron,
  this.weight,
});