disableMfa method

Future<void> disableMfa({
  1. String? reason,
})

Disable the member's MFA.

await member.disableMfa(reason: 'Testing');

Implementation

Future<void> disableMfa({String? reason}) => _memberMethods.updateMember(
    serverId: server.id,
    memberId: id,
    payload: {'mfa_enable': false},
    reason: reason);