appwritex 0.1.1 copy "appwritex: ^0.1.1" to clipboard
appwritex: ^0.1.1 copied to clipboard

Provides additional features to the Appwrite Dart SDK non-invasively.

[Beta] AppwriteX provides additional features to the Appwrite Dart SDK non-invasively.

Features #

  • AppwriteX extends the Appwrite Dart SDK with additional features.

Getting started #

  1. Add this package to your pubspec.yaml file:
dependencies:
  dart_appwrite: ^<latest_version>
  appwritex: ^1.0.0
  1. Install the package by running dart pub get.
  2. Import the package in your Dart code:
import 'package:dart_appwrite/dart_appwrite.dart';
import 'package:appwritex/appwritex.dart';
  1. Use the package in your code:
void main() async {
  final client = Client()
      .setEndpoint('http://localhost/v1')
      .setProject('fedcba9876543210')
      .setKey('0123456789abcdef');
    final users = Users(client);
    final usersUsage = await users.getUsage();    // users.getUsage() is provided by AppwriteX
    print(usersUsage.toMap());
}

Usage #

import 'package:dart_appwrite/dart_appwrite.dart';
import 'package:appwritex/appwritex.dart';

void main() async {
  final client = Client()
      .setEndpoint('http://localhost/v1')
      .setProject('fedcba9876543210')
      .setKey('0123456789abcdef');
  final users = Users(client);
  final usersUsage = await users.getUsage();    // users.getUsage() is provided by AppwriteX
  print(usersUsage.toMap());
}

Additional information #

Some features in this package are experimental and may not work as expected.

2
likes
0
pub points
0%
popularity

Publisher

verified publisherinsightop.com

Provides additional features to the Appwrite Dart SDK non-invasively.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dart_appwrite, meta

More

Packages that depend on appwritex