setSelfStatus method

  1. @override
Future<V2TimCallback> setSelfStatus({
  1. required String status,
})
override

Implementation

@override
Future<V2TimCallback> setSelfStatus({
  required String status,
}) async {
  Map<String, dynamic> param = {
    "status": status,
  };
  var resp = V2TimCallback.fromJson(formatJson(await _channel.invokeMethod('setSelfStatus', buildTimManagerParam(param))));
  log("setSelfStatus", param, resp.toLogString());
  return resp;
}