mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-08 02:57:47 +08:00
login/exp log
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
15
lib/models_new/login_log/data.dart
Normal file
15
lib/models_new/login_log/data.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
import 'package:PiliPlus/models_new/login_log/list.dart';
|
||||
|
||||
class LoginLogData {
|
||||
int? count;
|
||||
List<LoginLogItem>? list;
|
||||
|
||||
LoginLogData({this.count, this.list});
|
||||
|
||||
factory LoginLogData.fromJson(Map<String, dynamic> json) => LoginLogData(
|
||||
count: json['count'] as int?,
|
||||
list: (json['list'] as List<dynamic>?)
|
||||
?.map((e) => LoginLogItem.fromJson(e as Map<String, dynamic>))
|
||||
.toList(),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user