字段类型修改
This commit is contained in:
parent
7837d3e209
commit
015a19a944
@ -4,16 +4,13 @@ class LockMainEntity {
|
||||
String? errorMsg;
|
||||
LockInfoEntity? data;
|
||||
|
||||
LockMainEntity(
|
||||
{this.errorCode, this.description, this.errorMsg, this.data});
|
||||
LockMainEntity({this.errorCode, this.description, this.errorMsg, this.data});
|
||||
|
||||
LockMainEntity.fromJson(Map<String, dynamic> json) {
|
||||
errorCode = json['errorCode'];
|
||||
description = json['description'];
|
||||
errorMsg = json['errorMsg'];
|
||||
data = json['data'] != null
|
||||
? LockInfoEntity.fromJson(json['data'])
|
||||
: null;
|
||||
data = json['data'] != null ? LockInfoEntity.fromJson(json['data']) : null;
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
@ -30,19 +27,19 @@ class LockMainEntity {
|
||||
|
||||
class LockInfoEntity {
|
||||
UserSettings? userSettings;
|
||||
bool? hasXmeyeLock;
|
||||
bool? hasMoreService;
|
||||
int? hasXmeyeLock;
|
||||
int? hasMoreService;
|
||||
int? pages;
|
||||
List<KeyGroups>? keyGroups;
|
||||
bool? isReply;
|
||||
int? isReply;
|
||||
int? paidUserStatus;
|
||||
bool? hasAdvert;
|
||||
bool? hasAlexa;
|
||||
bool? isUserSettingCompleted;
|
||||
int? hasAdvert;
|
||||
int? hasAlexa;
|
||||
int? isUserSettingCompleted;
|
||||
List<KeyInfos>? keyInfos;
|
||||
bool? hasPaidFeature;
|
||||
bool? hasCameraLock;
|
||||
bool? hasGoogleHome;
|
||||
int? hasPaidFeature;
|
||||
int? hasCameraLock;
|
||||
int? hasGoogleHome;
|
||||
int? pageNo;
|
||||
int? lastUpdateDate;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user