mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 17:46:24 +08:00
16 lines
435 B
Dart
16 lines
435 B
Dart
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(),
|
|
);
|
|
}
|