RetryPolicy.fromJson constructor
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);
}