mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 08:38:18 +08:00
Refactor member page (#3)
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
This commit is contained in:
24
lib/models/space_archive/last_watched_locator.dart
Normal file
24
lib/models/space_archive/last_watched_locator.dart
Normal file
@@ -0,0 +1,24 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user