基础库
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
351 B

  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. }