NotifyBundle constructor

const NotifyBundle({
  1. void listenF(
    1. Network,
    2. MultiAddr
    )?,
  2. void listenCloseF(
    1. Network,
    2. MultiAddr
    )?,
  3. void connectedF(
    1. Network,
    2. Conn
    )?,
  4. void disconnectedF(
    1. Network,
    2. Conn
    )?,
})

Creates a new NotifyBundle with the given functions

Implementation

const NotifyBundle({
  this.listenF,
  this.listenCloseF,
  this.connectedF,
  this.disconnectedF,
});