setStringToEmpty static method

Future<void> setStringToEmpty(
  1. String key
)

set the value to given key to '' (Empty String)

Implementation

static Future<void> setStringToEmpty(
  String key,
) =>
    _prefs.setString(key, '');