iris_method_channel 1.2.1 iris_method_channel: ^1.2.1 copied to clipboard
iris_method_channel is a method channel that communicate between C/C++(iris) and dart, which is used by Agora Flutter SDKs.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add iris_method_channel
With Flutter:
$ flutter pub add iris_method_channel
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
iris_method_channel: ^1.2.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:iris_method_channel/iris_method_channel.dart';