RetryPolicy.fromJson constructor Null safety

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

Alternate constructor that creates an AuthorizationProvider from a json.

Params:

  • json: contains the source for instance creation.

Implementation

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