mapToCredential static method
Implementation
static Credential mapToCredential(dynamic cred) {
return Credential(
created: cred["created"],
handle: cred["handle"],
keyHandle: cred["keyHandle"],
name: cred["name"],
logoURL: cred["logoURL"],
loginURI: cred["loginURI"],
enrollURI: cred["enrollURI"],
chain: cred["chain"],
rootFingerprint: cred["rootFingerprint"],
state: CredentialStateHelper.fromString(cred["state"])
);
}