close method

void close([
  1. int? status,
  2. String? reason
])

Implementation

void close([int? status, String? reason]) {
  socket?.close(status, reason);
}