/* app 升级 */ class AppUpdateRequest { String? device; String? channel; String? architecture; String? model; AppUpdateRequest({ this.device, this.channel, this.architecture, this.model, }); factory AppUpdateRequest.fromJson(Map json) => AppUpdateRequest( device: json["device"], channel: json["channel"], architecture: json["architecture"], model: json["model"], ); Map toJson() => { "device": device, "channel": channel, "architecture": architecture, "model": model, }; } class AppUpdateResponse { String? shopUrl; String? fileUrl; String? latestVersion; String? latestDescription; AppUpdateResponse({ this.shopUrl, this.fileUrl, this.latestVersion, this.latestDescription, }); factory AppUpdateResponse.fromJson(Map json) => AppUpdateResponse( shopUrl: json["shopUrl"], fileUrl: json["fileUrl"], latestVersion: json["latestVersion"], latestDescription: json["latestDescription"], ); Map toJson() => { "shopUrl": shopUrl, "fileUrl": fileUrl, "latestVersion": latestVersion, "latestDescription": latestDescription, }; }