SocketException.closed constructor Null safety

const SocketException.closed()

Implementation

const SocketException.closed()
    : message = 'Socket has been closed',
      osError = null,
      address = null,
      port = null;