Added user index for statistics

This commit is contained in:
2023-09-13 22:57:12 +02:00
parent 0b48c2e7ab
commit ef349685ef
5 changed files with 96 additions and 0 deletions

View File

@ -0,0 +1,24 @@
import 'package:json_annotation/json_annotation.dart';
part 'updateUserIndexParams.g.dart';
@JsonSerializable()
class UpdateUserIndexParams {
String user;
String username;
String device;
int appVersion;
String deviceInfo;
UpdateUserIndexParams({
required this.user,
required this.username,
required this.device,
required this.appVersion,
required this.deviceInfo
});
factory UpdateUserIndexParams.fromJson(Map<String, dynamic> json) => _$UpdateUserIndexParamsFromJson(json);
Map<String, dynamic> toJson() => _$UpdateUserIndexParamsToJson(this);
}