1234567891011121314151617181920212223242526272829303132333435 |
- /*
- 用户信息模型
- * */
- class JXMemberModel {
- /*姓名*/
- String name = '';
- /*电话*/
- String tel = '';
- /*生日信息*/
- String birth = '';
- /*地址*/
- String prov = '';
- String city = '';
- String area = '';
- String addr = '';
- /*其他*/
- String remark = '';
- Map<String, dynamic> toMap() {
- return {
- name: name,
- tel: tel,
- birth: birth,
- prov: prov,
- city: city,
- area: area,
- addr: addr,
- remark: remark,
- }.map((key, value) => key.isNotEmpty?MapEntry(key, value):null);
- }
- }
|