Pdu constructor

Pdu(
  1. PduType type,
  2. int requestId,
  3. List<Varbind> varbinds, {
  4. PduError error = PduError.noError,
  5. int errorIndex = 0,
})

An SNMP Protocol Data Unit which contains a list of Varbinds and may (when received as a response) contain error information from an snmp device

Implementation

Pdu(
  this.type,
  this.requestId,
  this.varbinds, {
  this.error = PduError.noError,
  this.errorIndex = 0,
});