anchor method
Future<String>
anchor({
- required Identifier identifier,
- required String data,
- required DigestType algo,
- dynamic hint,
override
Implementation
Future<String> anchor(
{required Identifier identifier,
required String data,
required DigestType algo,
dynamic hint}) {
var arg0 = _platform.api2wire_box_autoadd_identifier(identifier);
var arg1 = _platform.api2wire_String(data);
var arg2 = _platform.api2wire_box_autoadd_digest_type(algo);
return _platform.executeNormal(FlutterRustBridgeTask(
callFfi: (port_) => _platform.inner.wire_anchor(port_, arg0, arg1, arg2),
parseSuccessData: _wire2api_String,
constMeta: kAnchorConstMeta,
argValues: [identifier, data, algo],
hint: hint,
));
}