loadSodiumSumo abstract method

Future<SodiumSumo> loadSodiumSumo()

Load an instance of SodiumSumo for the current platform.

This is the sumo variant of the loadSodium method. Inside this method, implementers should load a native instance of SodiumSumo and return that loaded instance.

If the current platform implementation is unable to create the instance because the underlying implementation does not contain the advanced sumo APIs, a SodiumSumoUnavailable should be thrown.

Check out the sodium package documentation for details on how to obtain a native instance on each platform.

Implementation

Future<SodiumSumo> loadSodiumSumo();