fromParams static method
Implementation
static ffi.Pointer<trtc_user_t> fromParams(TRTCUser params) {
final paramsPointer = calloc<trtc_user_t>();
paramsPointer.ref
..user_id = params.userId.toNativeUtf8().cast<ffi.Char>()
..int_room_id = params.intRoomId
..str_room_id = params.strRoomId.toNativeUtf8().cast<ffi.Char>();
return paramsPointer;
}