init static method
Creates a Sodium instance for the loaded libsodium.
The libsodium
parameter must be a loaded
[lib]sodium.[so|dll|dylib|a|lib|js]
- depending on your platform. Please
refer to the README for more details on loading the library.
Implementation
@Deprecated('Use SodiumInit.init2 instead')
static Future<Sodium> init(dynamic libsodium) => throw UnsupportedError(
'The current platform does support neither dart:ffi nor dart:js',
);