设置指定 key 的值。
key 要设置的键名。 type 值的类型。 value 要存储的值。
key
type
value
Future<void> setValue(String key, Type type, Object value);