AuthMethods.fromMap constructor

AuthMethods.fromMap(
  1. Map<String, dynamic> map
)

Implementation

AuthMethods.fromMap(Map<String, dynamic> map)
    : magicLink =
          getEmailAndSMSAuthMethod(map['magicLink'] ?? map['magic_link']),
      otp = getEmailAndSMSAuthMethod(map['otp']),
      passkeys = map['passkeys'] == null ? null : {};