GrpcRouteRetryPolicy.fromJson constructor

GrpcRouteRetryPolicy.fromJson(
  1. Map json_
)

Implementation

GrpcRouteRetryPolicy.fromJson(core.Map json_)
    : this(
        numRetries: json_.containsKey('numRetries')
            ? json_['numRetries'] as core.int
            : null,
        retryConditions: json_.containsKey('retryConditions')
            ? (json_['retryConditions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );