rbac_client 0.1.0
rbac_client: ^0.1.0 copied to clipboard
Reusable RBAC annotations, runtime contracts, and code generator.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rbac_clientThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
rbac_client: ^0.1.0Alternatively, 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:rbac_client/annotation.dart';
import 'package:rbac_client/capability.dart';
import 'package:rbac_client/rbac.dart';
import 'package:rbac_client/runtime.dart';
import 'package:rbac_client/source/builder.dart';
import 'package:rbac_client/source/rbac_wrapper_builder.dart';
import 'package:rbac_client/widgets.dart';