NetworkEndpoint.fromJson constructor

NetworkEndpoint.fromJson(
  1. Map json_
)

Implementation

NetworkEndpoint.fromJson(core.Map json_)
    : this(
        ipAddress: json_.containsKey('ipAddress')
            ? json_['ipAddress'] as core.String
            : null,
        port: json_.containsKey('port') ? json_['port'] as core.int : null,
      );