factory FirmwareVersion.fromJson(Map<String, dynamic> json) => FirmwareVersion(version: json["version"], otaType: json["OTAType"]);