CloudBaseUserInfo constructor

CloudBaseUserInfo(
  1. dynamic map
)

Implementation

CloudBaseUserInfo(map) {
  uuid = map['uid'];
  env = map['envName'];
  loginType = map['loginType'];
  appid = map['appid'];
  openid = map['openid'] ?? map['wxOpenId'];
  unionid = map['wxUnionId'];
  nickName = map['nickName'];
  gender = map['gender'];
  country = map['country'];
  province = map['province'];
  city = map['city'];
  avatarUrl = map['avatarUrl'];
}