mapToOrigin static method Null safety

AuthenticationContextOrigin mapToOrigin(
  1. dynamic origin
)

Implementation

static AuthenticationContextOrigin mapToOrigin(dynamic origin) {
  return AuthenticationContextOrigin(
    sourceIp: origin["sourceIp"],
    userAgent: origin["userAgent"],
    geolocation: origin["geolocation"],
    referer: origin["referer"],
  );
}