logout method

FutureOr<int> logout()

@detail After api @author hanchenchen.c @brief Log out of RTS server.
Calls this interface to log out, it is impossible to call methods related to out-of-room messages and end-to-server messages or receive related callbacks. @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details @note - Before calling this interface to log out, login:uid:{@link #ByteRTCEngine#login:uid} Login - After local users call this method to log out, they will receive rtcEngine:onLogout:{@link #ByteRTCEngineDelegate#rtcEngine:onLogout} callback notification results, and remote users will not receive notifications.

Implementation

FutureOr<int> logout() async {
  return await nativeCall('logout', []);
}