Add exports

This commit is contained in:
krawieck 2020-08-11 00:10:17 +02:00
parent 9deb17edc7
commit 13522248d4
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
import 'package:flutter/foundation.dart' show required;
import 'v1/main.dart';
export 'v1/comment_endpoint.dart';
export 'v1/post_endpoint.dart';
export 'v1/user_endpoint.dart';
class LemmyAPI {
/// url of this lemmy instance
String instanceUrl;
@ -8,7 +12,7 @@ class LemmyAPI {
V1 v1;
/// initialize lemmy api instance
LemmyAPI({@required this.instanceUrl})
LemmyAPI(this.instanceUrl)
: assert(instanceUrl != null),
v1 = V1(instanceUrl);
}