ExponentialRetryPolicy.fromJson constructor

ExponentialRetryPolicy.fromJson(
  1. Map<String, dynamic> json
)

Alternate constructor that creates a ExponentialRetryPolicy from a json.

Params:

  • json: contains the source for instance creation.

Implementation

factory ExponentialRetryPolicy.fromJson(Map<String, dynamic> json) {
  return ExponentialRetryPolicyImpl.fromJson(json);
}