NoRetryPolicy.fromJson constructor

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

Alternate constructor that creates a NoRetryPolicy from a json.

Params:

  • json: contains the source for instance creation.

Implementation

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