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.
36 lines
1.0 KiB
36 lines
1.0 KiB
// 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,
|
|
status: json['status'] as int,
|
|
vip: Vip.fromJson(json['vip'] as Map<String, dynamic>),
|
|
);
|
|
|
|
Map<String, dynamic> _$UserInfoModelToJson(UserInfoModel instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'name': instance.name,
|
|
'phone': instance.phone,
|
|
'status': instance.status,
|
|
'vip': instance.vip,
|
|
};
|
|
|
|
Vip _$VipFromJson(Map<String, dynamic> json) => Vip(
|
|
start: json['start'] as String,
|
|
end: json['end'] as String,
|
|
);
|
|
|
|
Map<String, dynamic> _$VipToJson(Vip instance) => <String, dynamic>{
|
|
'start': instance.start,
|
|
'end': instance.end,
|
|
};
|