BlogService class

博客相关接口。

Constructors

BlogService()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
util BaseBlogApiUtil
final

Methods

getBlogList(int page, int pageSize) Future<BlogList?>
getStatistics() Future<Map<String, dynamic>>
获取基本信息集合 有标签 有分类 有日期分类统计等数据
getTextModel(String key, {String? password}) Future
获取字典模型对象 params key : 字典的key params password : 部分字典是加密的,需要传递一个密码给后台解密才能获取数据, 密码被加盐后存储
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pishNewBlog(String title, String content, List<String> tags, String categoryId, {String? alias}) Future<void>
发布一篇新博客
toString() String
A string representation of this object.
inherited

Operators

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