GridVideoEvent class

宫格小视频事件数据

Constructors

GridVideoEvent({required GridVideoEventType type, String? videoId, Map<String, dynamic>? data, String? error, int? errorCode, bool? isLike, String? itemId, String? title})
const
GridVideoEvent.fromMap(Map<String, dynamic> map)
从Map创建事件
factory

Properties

data Map<String, dynamic>?
事件数据
final
error String?
错误信息(仅在错误事件时有值)
final
errorCode int?
错误代码(仅在错误事件时有值)
final
hashCode int
The hash code for this object.
no setterinherited
isLike bool?
是否点赞(仅在点赞事件时有值)
final
itemId String?
项目ID(仅在项目事件时有值)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
项目标题(仅在项目事件时有值)
final
type GridVideoEventType
事件类型
final
videoId String?
视频ID
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