ServerInfo constructor

ServerInfo({
  1. required String serverId,
  2. required String version,
  3. required int protocolVersion,
  4. required String goVersion,
  5. required String host,
  6. required int port,
  7. required int clientId,
  8. required int maxPayload,
  9. List<String>? serverUrls,
  10. bool? tlsRequired,
  11. bool? tlsVerify,
  12. bool? authRequired,
})

Implementation

ServerInfo({
  required this.serverId,
  required this.version,
  required this.protocolVersion,
  required this.goVersion,
  required this.host,
  required this.port,
  required this.clientId,
  required this.maxPayload,
  this.serverUrls,
  this.tlsRequired,
  this.tlsVerify,
  this.authRequired,
});