getAll method

Future<Map<String, dynamic>> getAll({
  1. IOSOptions? iOptions,
  2. AndroidOptions? aOptions,
})

Returns a Map<String,dynamic> with all the entries of the storage. For secure storage, iOptions and aOptions allow more control on the data access policy.

Implementation

Future<Map<String, dynamic>> getAll({
  IOSOptions? iOptions,
  AndroidOptions? aOptions,
}) async {
  if (isMocking) {
    return mockEntries!;
  }
  return _storage.getAll(
    iOptions: iOptions ?? _iosOptions,
    aOptions: aOptions ?? _androidOptions,
  );
}