# TRTCMixUser class Null safety

云端混流中每一路子画面的位置信息

TRTCMixUser 用于指定每一路（即每一个 userId）视频画面的具体摆放位置

## Constructors

TRTCMixUser({String userId = '', String roomId = "", int x = 0, int y = 0, int width = 0, int height = 0, int zOrder = 0, int streamType = TRTCCloudDef.TRTC_VIDEO_STREAM_TYPE_BIG, bool pureAudio = false})

## Properties

hashCode → int
  The hash code for this object. [...]
  read-only, inherited
height ↔ int
  图层位置高度（绝对像素值）
  read / write
pureAudio ↔ bool
  该用户是不是只开启了音频
  read / write
roomId ↔ String
  参与混流的 userId 所在roomId，null表示当前房间
  read / write
runtimeType → Type
  A representation of the runtime type of the object.
  read-only, inherited
streamType ↔ int
  参与混合的是主路画面（TRTC_VIDEO_STREAM_TYPE_BIG，默认）或屏幕分享（TRTC_VIDEO_STREAM_TYPE_SUB）画面
  read / write
userId ↔ String
  参与混流的 userId
  read / write
width ↔ int
  图层位置宽度（绝对像素值）
  read / write
x ↔ int
  图层位置 x 坐标（绝对像素值）
  read / write
y ↔ int
  图层位置 y 坐标（绝对像素值）
  read / write
zOrder ↔ int
  图层层次（1 - 15）不可重复
  read / write

## Methods

noSuchMethod(Invocation invocation) → dynamic
  Invoked when a non-existent method or property is accessed. [...]
  inherited
toJson() → Map<String, dynamic>
toString() → String
  A string representation of this object. [...]
  inherited

## Operators

operator ==(Object other) → bool
  The equality operator. [...]
  inherited