SignallingEvent class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- SignallingEvent({required ChannelBaseInfo channelBaseInfo, required SignallingEventType eventType, required String fromAccountId, required int time, String? customInfo})
-
SignallingEvent.fromJson(Map<
String, dynamic> map) -
factory
Properties
- channelBaseInfo ↔ ChannelBaseInfo
-
获取频道基础信息
getter/setter pair
- customInfo ↔ String?
-
通知触发者附加的自定义信息
getter/setter pair
- eventType ↔ SignallingEventType
-
通知事件类型
getter/setter pair
- fromAccountId ↔ String
-
通知来自于谁(由谁触发者的通知)
例如:
如果是被邀请事件 ,那么from 就是主动邀请者
如果是邀请应答事件 ,那么from 就是响应的邀请的人
注意:如果是多端同步的通知,那么from一般指自己
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time ↔ int
-
通知产生的时间(指对方发送通知的时间)
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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