TlsRouteRouteDestination.fromJson constructor

TlsRouteRouteDestination.fromJson(
  1. Map json_
)

Implementation

TlsRouteRouteDestination.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,
      );