loginWithKey static method

Future<void> loginWithKey(
  1. String loginKey,
  2. String loginValue, [
  3. Map<String, dynamic>? properties
])

设置当前用户的登陆 ID。loginKey 是登录 id 名,loginValue 是登录的值,properties 用户登录属性

Implementation

static Future<void> loginWithKey(String loginKey, String loginValue, [Map<String, dynamic>? properties]) async {
  properties = properties == null ? null : {...properties};
  _convertDateTime(properties);
  return await _channel.invokeMethod("loginWithKey", [loginKey, loginValue, properties]);
}