VenturoApiSecurity constructor
Constructor for setting up security configurations
Parameters:
PRIVATE_KEY
: The private key for encryption (required)PUBLIC_KEY
: The public key for encryption (required)hash
: The hashing algorithm (optional)
Usage Example:
final security = VenturoApiSecurity(
PRIVATE_KEY: "private_key_string",
PUBLIC_KEY: "public_key_string",
hash: Hash.SHA256,
);
Implementation
VenturoApiSecurity({
this.PRIVATE_KEY,
this.PUBLIC_KEY,
this.hash,
});