mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-19 23:54:01 +08:00
15 lines
286 B
Dart
15 lines
286 B
Dart
class LevelInfo {
|
|
int? currentLevel;
|
|
int? identity;
|
|
|
|
LevelInfo({
|
|
this.currentLevel,
|
|
this.identity,
|
|
});
|
|
|
|
factory LevelInfo.fromJson(Map<String, dynamic> json) => LevelInfo(
|
|
currentLevel: json['current_level'] as int?,
|
|
identity: json['identity'] as int?,
|
|
);
|
|
}
|