String writeOptionallyEmptyString(String? value) => _writeOptionallyEmpty<String>(value, (value) => value);