getUserStatus method

  1. @override
Future<V2TimValueCallback<List<V2TimUserStatus>>> getUserStatus({
  1. required List<String> userIDList,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimUserStatus>>> getUserStatus({
  required List<String> userIDList,
}) async {
  Map<String, dynamic> params = {
    "userIDList": userIDList,
  };
  var data = formatJson(
    await _channel.invokeMethod(
      'getUserStatus',
      buildTimManagerParam(
        params,
      ),
    ),
  );
  var resp = V2TimValueCallback<List<V2TimUserStatus>>.fromJson(
    data,
  );
  log("getUserStatus", params, resp.toLogString());
  return resp;
}