resendConfirmationCode method

dynamic resendConfirmationCode()

This is used by a user to resend a confirmation code

Implementation

dynamic resendConfirmationCode() async {
  final params = {
    'ClientId': pool.getClientId(),
    'Username': username,
  };

  if (_clientSecretHash != null) {
    params['SecretHash'] = _clientSecretHash;
  }

  var data = await client!.request('ResendConfirmationCode',
      await _analyticsMetadataParamsDecorator.call(params));

  return data;
}