setValue method
Implementation
Future<void> setValue(final dynamic value) async {
final String? string = value as String?;
if (string == null) {
await (await _).remove(_key);
} else {
await (await _).setString(_key, stringBusiness.encode(string)!);
}
}