sendTrailers method
Implementation
void sendTrailers(StatusException status) {
if (respTrailers.isNotEmpty) {
final merged = {...respTrailers, ...status.trailers};
status = StatusException(status.code, status.message)
..trailers = merged;
}
_endpoint.sendFrame(Codec.statusFrame(Wire.frameTrailers, _streamId, status));
}