SCLivePlayModel class

Inheritance

Constructors

SCLivePlayModel({required String userId, required String sourceId, required String sourceName, required int heartbeatLength, required LiveType liveType, required int totalTime, required int offTime})

Properties

hashCode int
The hash code for this object.
no setterinherited
heartbeatLength int
心跳
final
liveType LiveType
1、普通直播 2、互动直播、3、电台直播、4、电视直播、5、慢直播、
final
offTime int
退出时间,格式时间戳
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceId String
内容id
getter/setter pairinherited
sourceName String
内容 标题
getter/setter pairinherited
totalTime int
直播总时长,单位秒(普通直播、互动直播使用)
final
userId String
用户手机号或者用户唯一id(未登录时可传"")
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited