RetryPolicy.fromJson constructor

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

Implementation

factory RetryPolicy.fromJson(Map<String, dynamic> json) {
  return RetryPolicy(
    maximumEventAgeInSeconds: json['MaximumEventAgeInSeconds'] as int?,
    maximumRetryAttempts: json['MaximumRetryAttempts'] as int?,
  );
}