EndpointAddress.fromJson constructor

EndpointAddress.fromJson(
  1. Map<String, dynamic> json
)

Creates a EndpointAddress from JSON data.

Implementation

EndpointAddress.fromJson(Map<String, dynamic> json)
    : this(
        hostname: json['hostname'],
        ip: json['ip'],
        nodeName: json['nodeName'],
        targetRef: json['targetRef'] != null
            ? ObjectReference.fromJson(json['targetRef'])
            : null,
      );