WeightedBackendService.fromJson constructor

WeightedBackendService.fromJson(
  1. Map json_
)

Implementation

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