HTTPRetry.fromJson constructor
Creates a HTTPRetry from JSON data.
Implementation
HTTPRetry.fromJson(Map<String, dynamic> json)
: this(
attempts: json['attempts'],
perTryTimeout: json['perTryTimeout'] != null
? parseDuration(json['perTryTimeout'])
: null,
retryOn: json['retryOn'],
retryRemoteLocalities: json['retryRemoteLocalities'],
);