setupTwoFactorTotpToEntity static method

SetupTwoFactorTotp setupTwoFactorTotpToEntity(
  1. SetupTwoFactorTotpResponse response
)

Implementation

static domain.SetupTwoFactorTotp setupTwoFactorTotpToEntity(
  infra.SetupTwoFactorTotpResponse response,
) =>
    domain.SetupTwoFactorTotp(
      ok: response.ok,
      totpSecret: response.totpSecret,
      totpauthUri: response.totpauthUri,
      qrBase64: response.qrBase64,
    );