mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-18 16:16:14 +08:00
14 lines
306 B
Dart
14 lines
306 B
Dart
class Activity {
|
|
String? headBgUrl;
|
|
int? id;
|
|
String? title;
|
|
|
|
Activity({this.headBgUrl, this.id, this.title});
|
|
|
|
factory Activity.fromJson(Map<String, dynamic> json) => Activity(
|
|
headBgUrl: json['head_bg_url'] as String?,
|
|
id: json['id'] as int?,
|
|
title: json['title'] as String?,
|
|
);
|
|
}
|