setString abstract method Null safety

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

Sets string for key.