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.
14 lines
397 B
14 lines
397 B
1 year ago
|
import 'package:nextcloud/src/api/core.openapi.dart';
|
||
|
import 'package:nextcloud/src/client.dart';
|
||
|
|
||
|
export 'src/api/core.openapi.dart';
|
||
|
export 'src/helpers/core.dart';
|
||
|
|
||
|
// ignore: public_member_api_docs
|
||
|
extension CoreExtension on NextcloudClient {
|
||
|
static final _core = Expando<CoreClient>();
|
||
|
|
||
|
/// Client for the core APIs
|
||
|
CoreClient get core => _core[this] ??= CoreClient.fromClient(this);
|
||
|
}
|