client library Null safety

Classes

Client
Client sends and receives data between any NKN clients regardless their network condition without setting up a server or relying on any third party services. Data are end to end encrypted by default.
ClientConfig
Client config
DnsResolverConfig
DnsResolver Config
EthResolverConfig
EthResolver Config
MessageType
NKN message's PayloadType
OnConnect
Event emitting channel when client connects to node and becomes ready to send messages.
OnMessage
Event emitting channel when client receives a message (not including reply or ACK).