MatterEndpoint class
Describes one Matter endpoint discovered on a commissioned device: which device type(s) it declares, and which server clusters (capabilities) it exposes.
Constructors
-
MatterEndpoint({required int endpoint, required List<
int> deviceTypeIds, required List<String> deviceTypeNames, required List<int> clusterIds}) -
const
- MatterEndpoint.fromMap(Map map)
-
factory
Properties
-
capabilities
→ Set<
MatterCapability> -
Derives the set of user-facing MatterCapabilitys this endpoint supports, based on its
advertised cluster IDs. This is the mechanism that replaces the old device-name-string
sniffing (
deviceName.contains("occupancy"), etc.) with a spec-driven approach that works for any Matter device, not just the one this plugin originally shipped with.no setter -
clusterIds
→ List<
int> -
final
-
deviceTypeIds
→ List<
int> -
final
-
deviceTypeNames
→ List<
String> -
final
- endpoint → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited