MqttReasonCodeUtilities class

MQTT reason code

A Reason Code is a one byte unsigned value that indicates the result of an operation. Reason codes less than 0x80 indicate successful completion of an operation. The normal Reason Code for success is 0. Reason Code values of 0x80 or greater indicate failure. Utilities class

Constructors

MqttReasonCodeUtilities()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

isError(int code) bool
Is the reason code an error. True if an error code or is not set.