mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-28 14:25:55 +08:00
24 lines
395 B
Dart
24 lines
395 B
Dart
class ViewPoint {
|
|
int? type;
|
|
int? from;
|
|
int? to;
|
|
String? content;
|
|
String? imgUrl;
|
|
|
|
ViewPoint({
|
|
this.type,
|
|
this.from,
|
|
this.to,
|
|
this.content,
|
|
this.imgUrl,
|
|
});
|
|
|
|
factory ViewPoint.fromJson(Map<String, dynamic> json) => ViewPoint(
|
|
type: json["type"],
|
|
from: json["from"],
|
|
to: json["to"],
|
|
content: json["content"],
|
|
imgUrl: json["imgUrl"],
|
|
);
|
|
}
|