account method

Future account(
  1. String userId,
  2. String scheme,
  3. String secret,
  4. bool login,
  5. AccountParams? params,
)

Create or update an account

  • Scheme can be basic or token or reset

Implementation

Future account(String userId, String scheme, String secret, bool login,
    AccountParams? params) {
  return _tinodeService.account(userId, scheme, secret, login, params);
}