check2FAStatus method

Future<bool> check2FAStatus()

Checks if 2FA is enabled for the user.

Implementation

Future<bool> check2FAStatus() async {
  final result = await _postMessage('resendVerificationCode');
  return result['isSetup'];
}