closeReason method

String? closeReason()

get the close reason

Implementation

String? closeReason() {
  return webSocketChannel.closeReason;
}