MatterFabricData class
Helps identify a matter fabric resource.
Constructors
- MatterFabricData({required String label, required int vendorId})
- Creates a MatterFabricData object.
- MatterFabricData.empty()
- Creates an empty MatterFabricData object.
-
MatterFabricData.fromJson(Map<
String, dynamic> dataMap) -
Creates a MatterFabricData object from the JSON response to a GET
request.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- label → String
-
Human readable context to identify fabric.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vendorId → int
-
Matter vendor id of entity that created the fabric association.
final
Methods
-
copyWith(
{String? label, int? vendorId}) → MatterFabricData - Returns a copy of this object with its field values replaced by the ones provided to this method.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this object into JSON format.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override