sendDataAsString property
String?
get
sendDataAsString
Implementation
String? get sendDataAsString {
var sendData = this.sendData;
if (sendData != null) {
if (sendData is List<int>) {
return sendData.decode();
} else if (sendData is ByteBuffer) {
return sendData.asUint8List().decode();
} else {
return sendData.toString();
}
}
return null;
}