acdc 1.1.1 copy "acdc: ^1.1.1" to clipboard
acdc: ^1.1.1 copied to clipboard

Dart client for generating an `ACDC` object from provided id, data and schema.

Overview #

Dart client for generating an ACDC object from provided issuer id, data in a .json format and sai of the OCA schema. Currently, only Android is supported. More platforms will be available soon.

Usage #

In order to use the plugin, an ACDC object has to be created using newStaticMethodAcdc:

acdc = await Acdc.newStaticMethodAcdc(
        issuer: "Issuer",
        schema: "EFNWOR0fQbv_J6EL0pJlvCxEpbu4bg1AurHgr_0A7LKc",
        data: """{"hello":"world"}""");

As a next step, the generated object has to be serialized to a String using encodeMethodAcdc. Finally, parseStaticMethodAcdc is used to parse the ACDC from string.

Warning #

The plugin uses .so files generated for a physical Android device and is reported that it fails to work on an Android Studio simulator.

0
likes
140
pub points
0%
popularity

Publisher

verified publisherhumancolossus.org

Dart client for generating an `ACDC` object from provided id, data and schema.

Repository (GitHub)
View/report issues

Documentation

API reference

License

EUPL-1.2 (LICENSE)

Dependencies

ffi, flutter, flutter_rust_bridge, meta, plugin_platform_interface, uuid

More

Packages that depend on acdc