Address.fromJson constructor

Address.fromJson(
  1. Map json_
)

Implementation

Address.fromJson(core.Map json_)
    : this(
        envoyInternalAddress: json_.containsKey('envoyInternalAddress')
            ? EnvoyInternalAddress.fromJson(json_['envoyInternalAddress']
                as core.Map<core.String, core.dynamic>)
            : null,
        pipe: json_.containsKey('pipe')
            ? Pipe.fromJson(
                json_['pipe'] as core.Map<core.String, core.dynamic>)
            : null,
        socketAddress: json_.containsKey('socketAddress')
            ? SocketAddress.fromJson(
                json_['socketAddress'] as core.Map<core.String, core.dynamic>)
            : null,
      );