BfdStatusPacketCounts.fromJson constructor

BfdStatusPacketCounts.fromJson(
  1. Map json_
)

Implementation

BfdStatusPacketCounts.fromJson(core.Map json_)
    : this(
        numRx: json_.containsKey('numRx') ? json_['numRx'] as core.int : null,
        numRxRejected: json_.containsKey('numRxRejected')
            ? json_['numRxRejected'] as core.int
            : null,
        numRxSuccessful: json_.containsKey('numRxSuccessful')
            ? json_['numRxSuccessful'] as core.int
            : null,
        numTx: json_.containsKey('numTx') ? json_['numTx'] as core.int : null,
      );