Comment class

评论接口

Constructors

Comment([String? token])

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(String id) Future<String>
删除评论
send(CommentPost data) Future<ResponseResult>
发布评论
thank(String id) Future<ResponseResult>
评论感谢
toString() String
A string representation of this object.
inherited
update(String id, CommentPost data) Future<String>
更新评论
vote(String id, [bool like = true]) Future<bool>
评论点赞

Operators

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