VideoEvent class

小视频事件数据

Constructors

VideoEvent({required VideoEventType type, Map<String, dynamic>? data, String? error})
const
VideoEvent.fromMap(Map<String, dynamic> map)
从Map创建事件
factory

Properties

data Map<String, dynamic>?
事件数据
final
error String?
错误信息(仅在错误事件时有值)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type VideoEventType
事件类型
final

Methods

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

Operators

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