rmi 0.0.3 rmi: ^0.0.3 copied to clipboard
Remote Method Invocation without reflection but basd on code generation. This library is the runtime dependency. Additionally add `rmi__generator` as dev dependency.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add rmi
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
rmi: ^0.0.3
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:rmi/invoker.dart';
import 'package:rmi/proxy.dart';
import 'package:rmi/remote_method_invocation.dart';