mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
21 lines
445 B
Dart
21 lines
445 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'achieve.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class Achieve {
|
|
@JsonKey(name: 'is_default')
|
|
bool? isDefault;
|
|
String? image;
|
|
@JsonKey(name: 'achieve_url')
|
|
String? achieveUrl;
|
|
|
|
Achieve({this.isDefault, this.image, this.achieveUrl});
|
|
|
|
factory Achieve.fromJson(Map<String, dynamic> json) {
|
|
return _$AchieveFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$AchieveToJson(this);
|
|
}
|