TvServiceDio class

Access and manage Lichess teams and their members.

https://lichess.org/api#tag/Teams

Implemented types

Constructors

TvServiceDio(Dio dio)
const
TvServiceDio.create({String? accessToken, String baseUrl = 'https://lichess.org'})
factory

Properties

dio → Dio
Dio client linked with this service instance.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close({bool force = false}) Future<void>
Close the dio instance associated with this service instance.
override
getBestOngoingGamesOfTvChannel({required TvChannel channel, int nb = 10, bool moves = true, bool pgnInJson = false, bool tags = true, bool clocks = false, bool opening = false}) Stream<LichessTvGameSummary>
Get best ongoing games of a TV channel.
override
getCurrentTvGames() Future<List<LichessTvGameBasicInfo>>
Get current TV games.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
streamCurrentTvGame() Stream<LichessTvGameSummary>
Stream current TV game.
override
toString() String
A string representation of this object.
inherited

Operators

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