Info class

NATS Server Info

Constructors

Info({String? serverId, String? serverName, String? version, int? proto, String? go, String? host, int? port, bool? tlsRequired, int? maxPayload, String? nonce, int? clientId})
constructure
Info.fromJson(Map<String, dynamic> json)
constructure from json

Properties

clientId int?
client id assigned by server
getter/setter pair
go String?
server go version
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
host String?
host
getter/setter pair
maxPayload int?
max payload
getter/setter pair
nonce String?
nounce
getter/setter pair
port int?
port number
getter/setter pair
proto int?
protocol
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId String?
sever id
getter/setter pair
serverName String?
server name
getter/setter pair
tlsRequired bool?
TLS Required
getter/setter pair
version String?
server version
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
convert to json
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited