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
18 lines
377 B
Dart
18 lines
377 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'purchase_button.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class PurchaseButton {
|
|
String? uri;
|
|
String? title;
|
|
|
|
PurchaseButton({this.uri, this.title});
|
|
|
|
factory PurchaseButton.fromJson(Map<String, dynamic> json) {
|
|
return _$PurchaseButtonFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$PurchaseButtonToJson(this);
|
|
}
|