getCredentialState method

Future<String?> getCredentialState({
  1. required Identifier identifier,
  2. required String credentialSaid,
  3. dynamic hint,
})
override

Implementation

Future<String?> getCredentialState(
    {required Identifier identifier,
    required String credentialSaid,
    dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_identifier(identifier);
  var arg1 = _platform.api2wire_String(credentialSaid);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) =>
        _platform.inner.wire_get_credential_state(port_, arg0, arg1),
    parseSuccessData: _wire2api_opt_String,
    constMeta: kGetCredentialStateConstMeta,
    argValues: [identifier, credentialSaid],
    hint: hint,
  ));
}