LiveInfo constructor
LiveInfo({ - String liveID = '',
- String liveName = '',
- String notice = '',
- bool isMessageDisable = false,
- bool isPublicVisible = true,
- bool isSeatEnabled = true,
- bool keepOwnerOnSeat = false,
- int maxSeatCount = 0,
- TakeSeatMode seatMode = TakeSeatMode.apply,
- int seatLayoutTemplateID = 600,
- String coverURL = '',
- String backgroundURL = '',
- List<int>? categoryList,
- int activityStatus = 0,
- LiveUserInfo? liveOwner,
- int createTime = 0,
- int totalViewerCount = 0,
- bool isGiftEnabled = true,
- Map<String, String>? metaData,
})
Implementation
LiveInfo({
this.liveID = '',
this.liveName = '',
this.notice = '',
this.isMessageDisable = false,
this.isPublicVisible = true,
this.isSeatEnabled = true,
this.keepOwnerOnSeat = false,
this.maxSeatCount = 0,
this.seatMode = TakeSeatMode.apply,
this.seatLayoutTemplateID = 600,
this.coverURL = '',
this.backgroundURL = '',
List<int>? categoryList,
this.activityStatus = 0,
LiveUserInfo? liveOwner,
this.createTime = 0,
this.totalViewerCount = 0,
this.isGiftEnabled = true,
Map<String, String>? metaData,
})
: categoryList = categoryList ?? [],
liveOwner = liveOwner ?? LiveUserInfo(),
metaData = metaData ?? {};