id property
String?
get
id
This is a partial ID of the bridge.
Since the bridge is not yet connected to the app, the full ID is not known.
Returns null
if the ID is not known.
Implementation
String? get id {
if (rawIdFromEndpoint != null) {
return rawIdFromEndpoint!.substring(rawIdFromEndpoint!.length - 6);
}
if (rawIdFromMdns != null) {
return rawIdFromMdns!.substring(rawIdFromMdns!.length - 6);
}
return null;
}