Google is committed to advancing racial equity for Black communities. See how.

encode method

*<Null safety>*
  • @override

void encode (Encoder encoder, String? value, int offset) override

Implementation

@override
void encode(Encoder encoder, String? value, int offset) {
  if (value == null) {
    _encodeNullVector(encoder, offset);
  } else {
    _encodeString(encoder, value, offset, maybeElementCount);
  }
}