toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "host": host,
      "port": port,
      "ssl": ssl,
      "password": password,
      "shards": shards,
      "clientId": clientId.id,
      "nodeId": nodeId,
      "maxConnectAttempts": maxConnectAttempts,
      "delayBetweenReconnections": delayBetweenReconnections.inMilliseconds,
      "clientName": clientName
    };