You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.7 KiB

2 years ago
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'user_info_model.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
UserInfoModel _$UserInfoModelFromJson(Map<String, dynamic> json) =>
UserInfoModel(
id: json['id'] as int,
name: json['name'] as String,
phone: json['phone'] as String,
isVip: json['is_vip'] as int,
tag: json['tag']as String,
2 years ago
status: json['status'] as int,
start: json['start']as int,
end: json['end']as int,
contentCon:(json['content_con'] as List<dynamic>?)
?.map((e) => Content.fromJson(e as Map<String, dynamic>))
.toList(),
contentRef:(json['content_ref'] as List<dynamic>?)
?.map((e) => Content.fromJson(e as Map<String, dynamic>))
.toList(),
2 years ago
);
Map<String, dynamic> _$UserInfoModelToJson(UserInfoModel instance) =>
<String, dynamic>{
'id': instance.id,
'name': instance.name,
'phone': instance.phone,
'is_vip':instance.isVip,
'tag':instance.tag,
2 years ago
'status': instance.status,
'start':instance.start,
'end':instance.end,
'content_con':instance.contentCon,
'content_ref':instance.contentRef,
2 years ago
};
Content _$ContentFromJson(Map<String, dynamic> json) => Content(
id: json['id'] as int,
content: json['content'] as String,
isChecked: json['is_checked'] as int,
);
2 years ago
Map<String, dynamic> _$ContentToJson(Content instance) => <String, dynamic>{
'id': instance.id,
'content': instance.content,
'is_checked':instance.isChecked,
};