mapToIdentity static method

Identity mapToIdentity(
  1. dynamic cred
)

Implementation

static Identity mapToIdentity(dynamic cred) {
  return Identity(
    displayName: cred["displayName"],
    username: cred["username"],
    primaryEmailAddress: cred["primaryEmailAddress"],
  );
}