TRTCParams constructor Null safety

TRTCParams(
  1. {int sdkAppId = 0,
  2. String userId = "",
  3. String userSig = "",
  4. int roomId = 0,
  5. String strRoomId = "",
  6. int role = TRTCCloudDef.TRTCRoleAnchor,
  7. String streamId = "",
  8. String userDefineRecordId = "",
  9. String privateMapKey = "",
  10. String businessInfo = ""}
)

Implementation

TRTCParams(
    {this.sdkAppId = 0,
    this.userId = "",
    this.userSig = "",
    this.roomId = 0,
    this.strRoomId = "",
    this.role = TRTCCloudDef.TRTCRoleAnchor,
    this.streamId = "",
    this.userDefineRecordId = "",
    this.privateMapKey = "",
    this.businessInfo = ""});