mirror of
https://github.com/krawieck/lemmur/
synced 2024-12-18 03:18:48 +01:00
15 lines
293 B
Dart
15 lines
293 B
Dart
import 'package:flutter/material.dart';
|
|
import 'v1/main.dart';
|
|
|
|
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);
|
|
}
|