sse_encode_opt_String method

  1. @protected
void sse_encode_opt_String(
  1. String? self,
  2. SseSerializer serializer
)
override

Implementation

@protected
void sse_encode_opt_String(String? self, SseSerializer serializer) {
  // Codec=Sse (Serialization based), see doc to use other codecs

  sse_encode_bool(self != null, serializer);
  if (self != null) {
    sse_encode_String(self, serializer);
  }
}