fromCoapCode static method

SignalingCode? fromCoapCode(
  1. CoapCode code
)

Returns the SignalingCode corresponding with a given CoapCode (if defined).

Implementation

static SignalingCode? fromCoapCode(final CoapCode code) =>
    _codeRegistry[code.code];