LemmyApiV3 class

Lemmy API that uses version 3

Constructors

LemmyApiV3(String host)
const

Properties

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

Methods

communityJoin({required int communityId}) StreamController<WsEvent>
Receives community actions. When communityId is 0, front page is listened
modJoin({required int communityId}) StreamController<WsEvent>
Receives community moderator updates like reports
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postJoin({required int postId}) StreamController<WsEvent>
Receives new comments on a post
run<T>(LemmyApiQuery<T> query) Future<T>
Run a given query
toString() String
A string representation of this object.
inherited
userJoin({required String auth}) StreamController<WsEvent>
Receives replies, private messages, etc.

Operators

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

Constants

extraPath → const String