ConnectionEvent.fromMap constructor
Implementation
factory ConnectionEvent.fromMap(Map<String, dynamic> map) {
return ConnectionEvent(
type: map['type'] as int,
deviceAddress: map['deviceAddress'] as String?,
message: map['message'] as String?,
);
}