NetworkEndpoint.fromJson constructor

NetworkEndpoint.fromJson(
  1. Map _json
)

Implementation

NetworkEndpoint.fromJson(core.Map _json)
    : this(
        accessConfig: _json.containsKey('accessConfig')
            ? AccessConfig.fromJson(
                _json['accessConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        ipAddress: _json.containsKey('ipAddress')
            ? _json['ipAddress'] as core.String
            : null,
        port: _json.containsKey('port') ? _json['port'] as core.int : null,
      );