allValues property

  1. @override
Future<List<Tuple2<ValueWithType, ValueWithType>>> allValues

Gets (reloads if applicable) all values associated with this server Implementations are allowed to set certain large values to 'null' to allow lazy loading using get

Implementation

@override
Future<List<Tuple2<ValueWithType, ValueWithType>>> get allValues async {
  return (await storage.getAllKeys())
      .map(
        (e) => Tuple2(
          ValueWithType(StorageType.string, e),
          const ValueWithType(StorageType.binary, null),
        ),
      )
      .toList();
}