SodiumInit class abstract

Static class to obtain a Sodium instance.

Important: This API is is different depending on whether it is used from the VM or in transpiled JavaScript Code. See the specific implementations for more details.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

init(DynamicLibraryFactory getLibsodium) Future<Sodium>
Creates a Sodium instance for the loaded libsodium returned by the callback.
initFromSodiumFFI(LibSodiumFFIFactory getSodium) Future<Sodium>
Creates a Sodium instance for the loaded libsodium returned by the callback as LibSodiumFFI.