UserInfo.fromJSON constructor

UserInfo.fromJSON(
  1. dynamic json
)

Implementation

UserInfo.fromJSON(dynamic json)
    : sub = json["sub"],
      isAnonymous = json["https://authgear.com/claims/user/is_anonymous"],
      isVerified = json["https://authgear.com/claims/user/is_verified"];