1
0
mirror of https://github.com/krawieck/lemmur/ synced 2024-12-18 11:28:45 +01:00
lemmur-app-android/lib/client/client.dart

15 lines
293 B
Dart
Raw Normal View History

2020-08-04 16:41:07 +02:00
import 'package:flutter/material.dart';
import 'v1/main.dart';
2020-08-04 16:41:07 +02:00
class LemmyAPI {
/// url of this lemmy instance
String instanceUrl;
V1 v1;
/// initialize lemmy api instance
LemmyAPI({@required this.instanceUrl})
: assert(instanceUrl != null),
v1 = V1(instanceUrl);
}