toJson method
Converts this object into JSON format.
Implementation
Map<String, dynamic> toJson() {
return {
ApiFields.modelId: modelId,
ApiFields.manufacturerName: manufacturerName,
ApiFields.productName: productName,
ApiFields.productArchetype: productArchetype.value,
ApiFields.isCertified: isCertified,
ApiFields.softwareVersion: softwareVersion,
ApiFields.hardwarePlatformType: hardwarePlatformType,
};
}