WechatUserInfo constructor
WechatUserInfo({})
Implementation
factory WechatUserInfo({
$core.String? accessToken,
$core.int? expiresIn,
$core.String? refreshToken,
$core.String? openid,
$core.String? scope,
$core.String? unionid,
}) {
final $result = create();
if (accessToken != null) {
$result.accessToken = accessToken;
}
if (expiresIn != null) {
$result.expiresIn = expiresIn;
}
if (refreshToken != null) {
$result.refreshToken = refreshToken;
}
if (openid != null) {
$result.openid = openid;
}
if (scope != null) {
$result.scope = scope;
}
if (unionid != null) {
$result.unionid = unionid;
}
return $result;
}