contentAsSendData property

dynamic get contentAsSendData

Implementation

dynamic get contentAsSendData {
  var content = _content;
  if (content == null) return null;
  if (content.isString) return content.asString;
  if (content.isByteBuffer) return content.asByteBuffer;
  if (content.isBytesArray) return content.asByteArray;
  if (content.isBlob) return content.asBlob!.blob;
  return content.asString;
}