33 lines
1.1 KiB
Dart
33 lines
1.1 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'people_info_controller.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
PeopleInfoModel _$PeopleInfoModelFromJson(Map<String, dynamic> json) =>
|
|
PeopleInfoModel()
|
|
..name = json['name'] as String?
|
|
..sex = json['sex'] as String
|
|
..height = json['height'] as String?
|
|
..weight = json['weight'] as String?
|
|
..birthday = json['birthday'] == null
|
|
? null
|
|
: DateTime.parse(json['birthday'] as String)
|
|
..phone = json['phone'] as String?
|
|
..contact = json['contact'] as String?
|
|
..peopleList = json['peopleList'] as List<dynamic>;
|
|
|
|
Map<String, dynamic> _$PeopleInfoModelToJson(PeopleInfoModel instance) =>
|
|
<String, dynamic>{
|
|
'name': instance.name,
|
|
'sex': instance.sex,
|
|
'height': instance.height,
|
|
'weight': instance.weight,
|
|
'birthday': instance.birthday?.toIso8601String(),
|
|
'phone': instance.phone,
|
|
'contact': instance.contact,
|
|
'peopleList': instance.peopleList,
|
|
};
|