WeightedBackendService.fromJson constructor

WeightedBackendService.fromJson(
  1. Map json_
)

Implementation

WeightedBackendService.fromJson(core.Map json_)
    : this(
        backendService: json_.containsKey('backendService')
            ? json_['backendService'] as core.String
            : null,
        headerAction: json_.containsKey('headerAction')
            ? HttpHeaderAction.fromJson(
                json_['headerAction'] as core.Map<core.String, core.dynamic>)
            : null,
        weight:
            json_.containsKey('weight') ? json_['weight'] as core.int : null,
      );