You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
872 B
37 lines
872 B
4 years ago
|
/// miniDownloadUrl : ""
|
||
|
/// miniVersion : "1.0"
|
||
|
/// miniAppId : "wx7eeaa89de16f3180"
|
||
|
|
||
|
class Mini {
|
||
|
String _miniDownloadUrl;
|
||
|
String _miniVersion;
|
||
|
String _miniAppId;
|
||
|
|
||
|
String get miniDownloadUrl => _miniDownloadUrl;
|
||
|
String get miniVersion => _miniVersion;
|
||
|
String get miniAppId => _miniAppId;
|
||
|
|
||
|
Mini({
|
||
|
String miniDownloadUrl,
|
||
|
String miniVersion,
|
||
|
String miniAppId}){
|
||
|
_miniDownloadUrl = miniDownloadUrl;
|
||
|
_miniVersion = miniVersion;
|
||
|
_miniAppId = miniAppId;
|
||
|
}
|
||
|
|
||
|
Mini.fromJson(dynamic json) {
|
||
|
_miniDownloadUrl = json["miniDownloadUrl"];
|
||
|
_miniVersion = json["miniVersion"];
|
||
|
_miniAppId = json["miniAppId"];
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
var map = <String, dynamic>{};
|
||
|
map["miniDownloadUrl"] = _miniDownloadUrl;
|
||
|
map["miniVersion"] = _miniVersion;
|
||
|
map["miniAppId"] = _miniAppId;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|