TcpRouteRouteDestination.fromJson constructor

TcpRouteRouteDestination.fromJson(
  1. Map json_
)

Implementation

TcpRouteRouteDestination.fromJson(core.Map json_)
    : this(
        serviceName: json_.containsKey('serviceName')
            ? json_['serviceName'] as core.String
            : null,
        weight:
            json_.containsKey('weight') ? json_['weight'] as core.int : null,
      );