getString method

String? getString(
  1. String key
)

获取字符串

Implementation

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