login method

Future<CtrlMessage> login(
  1. String scheme,
  2. String secret,
  3. Map<String, dynamic>? cred
)

Authenticate current session

Implementation

Future<CtrlMessage> login(
    String scheme, String secret, Map<String, dynamic>? cred) {
  return _tinodeService.login(scheme, secret, cred);
}