MatterFabric class
The configuration settings for a matter fabric resource.
Constructors
- MatterFabric({required ResourceType type, required String id, String idV1 = "", required String status, required MatterFabricData fabricData, required DateTime creationTime})
- Creates a MatterFabric object.
- MatterFabric.empty()
- Creates an empty MatterFabric object.
-
MatterFabric.fromJson(Map<
String, dynamic> dataMap) -
Creates a MatterFabric object from the JSON response to a
GET request.
factory
Properties
- creationTime → DateTime
-
UTC date and time when this fabric was created.
final
- fabricData → MatterFabricData
-
Human readable context to identify fabric.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
Unique identifier representing a specific resource instance.
finalinherited
- idV1 → String
-
Clip v1 resource identifier.
final
- originalType → ResourceType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
Only a fabric with status paired has label and vendor_id fabricData
properties.
final
- type ↔ ResourceType
-
Type of the supported resource.
getter/setter pairinherited
Methods
-
copyWith(
{ResourceType? type, String? id, String? idV1, String? status, MatterFabricData? fabricData, DateTime? creationTime, bool copyOriginalValues = true}) → MatterFabric - 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
-
refreshOriginals(
) → void -
Called after a successful PUT request, this method refreshed the
"original" data in this object.
inherited
-
toJson(
{OptimizeFor optimizeFor = OptimizeFor.put}) → Map< String, dynamic> -
Converts this object into JSON format.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override