fromJson static method

WechatId fromJson(
  1. dynamic json
)

Implementation

static WechatId fromJson(dynamic json) {
  return WechatId(
      accessToken: json['access_token'],
      expiresIn: json['expires_in'],
      refreshToken: json['refresh_token'],
      openid: json['openid'],
      scope: json['scope'],
      unionid: json['unionid']);
}