setString method
Store a String value for key.
Parameters
key: The key to set.value: The string value to store.
Also see:
- getString: to retrieve a stored string value.
Implementation
void setString(final String key, final String value) {
objectMethod(
pointerId,
'SettingsService',
'setValueString',
args: <String, dynamic>{'first': key, 'second': value},
);
}