factory IMfaSettings.fromMap(Map<String, dynamic> map) { return IMfaSettings( preferredMfa: map['PreferredMfa'] as bool, enabled: map['Enabled'] as bool, ); }