setString method

Future<void> setString(
  1. String key,
  2. String value
)

Saves a string value to the platform.

Some platforms have special values that cannot be stored, please refer to the README for more information.

Implementation

Future<void> setString(String key, String value) {
  return _platform.setString(key, value, _options);
}