A framework for building convergent cross-platform Nextcloud clients using Flutter.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// coverage:ignore-file
|
|
|
|
import 'package:nextcloud/src/api/news.openapi.dart';
|
|
|
|
import 'package:nextcloud/src/client.dart';
|
|
|
|
|
|
|
|
export 'src/api/news.openapi.dart';
|
|
|
|
export 'src/helpers/news.dart';
|
|
|
|
|
|
|
|
// ignore: public_member_api_docs
|
|
|
|
extension NewsExtension on NextcloudClient {
|
|
|
|
static final _news = Expando<NewsClient>();
|
|
|
|
|
|
|
|
/// Client for the news APIs
|
|
|
|
NewsClient get news => _news[this] ??= NewsClient.fromClient(this);
|
|
|
|
}
|