基础库
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.

преди 4 години
123456789101112131415
  1. class ProfileModel {
  2. bool isAuth; // 是否淘宝授权
  3. ProfileModel({this.isAuth});
  4. ProfileModel.fromJson(Map<String, dynamic> json) {
  5. isAuth = json['is_taobao_auth'];
  6. }
  7. Map<String, dynamic> toJson() {
  8. final Map<String, dynamic> data = new Map<String, dynamic>();
  9. data['is_taobao_auth'] = this.isAuth;
  10. return data;
  11. }
  12. }