MatterFabricData.fromJson constructor
Creates a MatterFabricData object from the JSON response to a GET request.
Implementation
factory MatterFabricData.fromJson(Map<String, dynamic> dataMap) {
return MatterFabricData(
label: dataMap[ApiFields.label] ?? "",
vendorId: dataMap[ApiFields.vendorId] ?? 0,
);
}