mapToIdentity static method Null safety

PasskeyIdentity mapToIdentity(
  1. dynamic passkey
)

Implementation

static PasskeyIdentity mapToIdentity(dynamic passkey) {
  return PasskeyIdentity(
    id: passkey["id"],
    displayName: passkey["displayName"],
    username: passkey["username"],
    primaryEmailAddress: passkey["primaryEmailAddress"],
  );
}