getString method

String? getString(
  1. String key
)

Gets a string value for the given key, returns null if not found.

Implementation

String? getString(String key) => _prefsInstance.getString(key);