UserMfaPreference constructor

const UserMfaPreference({
  1. Set<MfaType> enabled = const {},
  2. MfaType? preferred,
})

The MFA preferences for the user, returned from Amplify.Auth.fetchMfaPreference.

Implementation

const UserMfaPreference({
  this.enabled = const {},
  this.preferred,
});