isolateFactory property

  1. @override
SodiumSumoFactory get isolateFactory
override

Retrieves a factory method to create new sodium instances that use the same native binaries.

This is meant to be used to obtain a factory that can be passed between isolates. Usually, you would use runIsolated for isolated computation. However, sometimes you need more control over the isolates. In this case you can use this method to get a Sodium instance on a separate isolate.

Implementation

@override
SodiumSumoFactory get isolateFactory;