getSecureValue method

Future<Result<Vector<SecureValueBase>>> getSecureValue({
  1. required List<SecureValueTypeBase> types,
})

Get Secure Value.

ID: 73665bc2.

Implementation

Future<Result<Vector<SecureValueBase>>> getSecureValue({
  required List<SecureValueTypeBase> types,
}) async {
  // Preparing the request.
  final request = AccountGetSecureValue(types: types);

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._toVector<SecureValueBase>();
}