setString method

void setString(
  1. String key,
  2. String value
)

Set a value for the given key

Parameters

  • IN key The key
  • IN value The value

Throws

  • An exception if it fails

Implementation

void setString(final String key, final String value) {
  objectMethod(
    _pointerId,
    'SettingsService',
    'setValueString',
    args: <String, dynamic>{'first': key, 'second': value},
  );
}