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
25 lines
550 B
Dart
25 lines
550 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'last_watched_locator.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class LastWatchedLocator {
|
|
@JsonKey(name: 'display_threshold')
|
|
int? displayThreshold;
|
|
@JsonKey(name: 'insert_ranking')
|
|
int? insertRanking;
|
|
String? text;
|
|
|
|
LastWatchedLocator({
|
|
this.displayThreshold,
|
|
this.insertRanking,
|
|
this.text,
|
|
});
|
|
|
|
factory LastWatchedLocator.fromJson(Map<String, dynamic> json) {
|
|
return _$LastWatchedLocatorFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$LastWatchedLocatorToJson(this);
|
|
}
|