deleteAll method
Returns true
is all the values are successfully deleted.
For secure storage, iOptions
and aOptions
allow more control on the data access policy.
Implementation
Future<bool> deleteAll({
IOSOptions? iOptions,
AndroidOptions? aOptions,
}) async {
if (isMocking) {
mockEntries!.clear();
return true;
}
return _storage.deleteAll(
iOptions: iOptions ?? _iosOptions,
aOptions: aOptions ?? _androidOptions,
);
}