count method

  1. @override
Future<int> count(
  1. String collection
)
override

Implementation

@override
Future<int> count(String collection) async {
  final keys = _preferences.getKeys().toList()..sort();
  return keys.length;
}