create static method

SecureStorage? create()

Creates a new SecureStorage; returns null if the native side failed.

Implementation

static SecureStorage? create() {
  final handle = c.native_secure_storage_create();
  if (handle == 0) return null;
  return SecureStorage.fromHandle(handle);
}