factory HttpEndpointRetryOptions.fromJson(Map<String, dynamic> json) { return HttpEndpointRetryOptions( durationInSeconds: json['DurationInSeconds'] as int?, ); }