ElasticsearchRetryOptions.fromJson constructor

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

Implementation

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