setStatus method
Sets the status to the Span.
If used, this will override the default Span status. Default status code is api.StatusCode.unset.
Only the value of the last call will be recorded, and implementations are free to ignore previous calls.
Implementation
@override
void setStatus(api.StatusCode status, {String description = ''}) {}