IGMedia class

Inheritance

Constructors

IGMedia()

Properties

caption IGMediaCaption
帖子的标题
no setter
commentCount int
评论数
no setter
commentsDisabled bool
是否关闭了评论
no setter
hashCode int
The hash code for this object.
no setterinherited
items List<IGMediaItem>
no setter
likeCount int
点赞数
no setter
liked bool
是否已点赞
no setter
mediaId String?
帖子ID
no setter
mediaType IGMediaType
帖子类型
no setter
owner IGUserLite
发帖人
no setter
previewComments List<IGComment>
预览评论
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
savable bool
viewer是否可以收藏
no setter
saved bool
是否已收藏
no setter
web分享链接
no setter
shortCode String?
web专用
no setter
story bool
是否为Story=ReelMedia
no setter
takenAt DateTime
发布时间
no setter
topLikers List<IGUserLite>
置顶点赞者
no setter
trackingToken String
与PostView有关的token
no setter
viewCount int
播放数; Video Only
no setter

Methods

internalAsDate(String key) DateTime
@警告 内部使用
inherited
internalAsEnum<T>(String key, List<T> values) → T
@警告 内部使用
inherited
internalAsSelf(Map<String, dynamic> obj) → dynamic
@警告 内部使用
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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