mirror of
https://github.com/krawieck/lemmur/
synced 2024-12-17 19:09:07 +01:00
16 lines
242 B
Dart
16 lines
242 B
Dart
import 'v1/main.dart';
|
|
|
|
export 'v1/main.dart';
|
|
|
|
class LemmyAPI {
|
|
/// host uri of this lemmy instance
|
|
String host;
|
|
|
|
V1 v1;
|
|
|
|
/// initialize lemmy api instance
|
|
LemmyAPI(this.host)
|
|
: assert(host != null),
|
|
v1 = V1(host);
|
|
}
|