RetryPolicy.fromJson constructor

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

Alternate constructor that creates a RetryPolicy from a json.

Params:

  • json: contains the source for instance creation.

Implementation

factory RetryPolicy.fromJson(Map<String, dynamic> json) {
  return const RetryPolicyConverter().fromJson(json);
}