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