AccessToken.fromMap constructor
Implementation
factory AccessToken.fromMap(Map<String, dynamic> map) {
return AccessToken._(
userId: map["uid"],
additional: map["add"],
issuedAtDate: DateTime.fromMillisecondsSinceEpoch(map["iat"]),
issuer: map["iss"],
tokenID: map["jti"],
subject: map["sub"],
audience: map["aud"],
expireDate: map["exp"] != null
? DateTime.fromMillisecondsSinceEpoch(map["exp"])
: null);
}