MqttDisconnectionOrigin enum

Enumeration that indicates the origin of a client disconnection

Constants

none → const MqttDisconnectionOrigin

None set

const MqttDisconnectionOrigin(2)
solicited → const MqttDisconnectionOrigin

Solicited, i.e. requested by the client, for example disconnect called on the client.

const MqttDisconnectionOrigin(1)
unsolicited → const MqttDisconnectionOrigin

Unsolicited, i.e. not requested by the client, for example a broker/network initiated disconnect

const MqttDisconnectionOrigin(0)
values → const List<MqttDisconnectionOrigin>

A constant List of the values in this enum, in order of their declaration.

const List<MqttDisconnectionOrigin>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited