getLoginUser method

  1. @override
Future<V2TimValueCallback<String>> getLoginUser()
override

获取登录用户

Implementation

@override
Future<V2TimValueCallback<String>> getLoginUser() async {
  return V2TimValueCallback<String>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        'getLoginUser',
        buildTimManagerParam(
          {},
        ),
      ),
    ),
  );
}