mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 11:06:51 +08:00
34 lines
695 B
Plaintext
34 lines
695 B
Plaintext
|
|
class ViewPoint {
|
|
int? type;
|
|
int? from;
|
|
int? to;
|
|
String? content;
|
|
String? imgUrl;
|
|
String? logoUrl;
|
|
String? teamType;
|
|
String? teamName;
|
|
|
|
ViewPoint({
|
|
this.type,
|
|
this.from,
|
|
this.to,
|
|
this.content,
|
|
this.imgUrl,
|
|
this.logoUrl,
|
|
this.teamType,
|
|
this.teamName,
|
|
});
|
|
|
|
factory ViewPoint.fromJson(Map<String, dynamic> json) => ViewPoint(
|
|
type: json["type"],
|
|
from: json["from"],
|
|
to: json["to"],
|
|
content: json["content"],
|
|
imgUrl: json["imgUrl"],
|
|
logoUrl: json["logoUrl"],
|
|
teamType: json["team_type"],
|
|
teamName: json["team_name"],
|
|
);
|
|
|
|
} |