containsKey method

  1. @override
Future<bool> containsKey(
  1. String key, {
  2. SharedPreferencesPlusOptions options = const SharedPreferencesPlusOptions(),
})
override

Returns whether a value exists for key.

Implementation

@override
Future<bool> containsKey(
  String key, {
  SharedPreferencesPlusOptions options = const SharedPreferencesPlusOptions(),
}) async => (await getAll(options: options)).containsKey(key);