MfaFactors.fromMap constructor

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

Implementation

factory MfaFactors.fromMap(Map<String, dynamic> map) {
  return MfaFactors(
    totp: map['totp'],
    phone: map['phone'],
    email: map['email'],
    recoveryCode: map['recoveryCode'],
  );
}