ConnectionEvent class

Connection event data

Constructors

ConnectionEvent.new({required int type, String? deviceAddress, String? message})
const
ConnectionEvent.fromMap(Map<String, dynamic> map)
factory

Properties

deviceAddress String?
final
hashCode int
The hash code for this object.
no setterinherited
isConnected bool
no setter
isConnecting bool
no setter
isDisconnected bool
no setter
isError bool
no setter
message String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state ConnectionState
no setter
type int
final

Methods

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

Operators

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