clear method
Removes all entries from the storage.
Example:
// Clear all data
_userStorage!.clear();
print("Cleared all data from user storage");
Implementation
@override
void clear() {
final _clearFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Void Function(Pointer<Void>, ),
void Function(Pointer<Void>, )
>('navigine_sdk_flutter_KeyValueStorage_clear'));
_clearFfi(this.ptr, );
exception.checkCallResult();
}