device property
Device?
get
device
Implementation
Device? get device {
if (type == TransactionEventType.deviceFound ||
type == TransactionEventType.deviceConnected) {
return Device.fromMap(data);
}
return null;
}