agora_token_generator_dart 0.0.1
agora_token_generator_dart: ^0.0.1 copied to clipboard
A Flutter package for generating Agora Dynamic Keys and Access Tokens for RTC and RTM services. Supports multiple token types including RTC tokens with UID/Account and RTM tokens.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add agora_token_generator_dart
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
agora_token_generator_dart: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:agora_token_generator_dart/agora_token_generator_dart.dart';