ElasticsearchVersionStatus.fromJson constructor

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

Implementation

factory ElasticsearchVersionStatus.fromJson(Map<String, dynamic> json) {
  return ElasticsearchVersionStatus(
    options: json['Options'] as String,
    status: OptionStatus.fromJson(json['Status'] as Map<String, dynamic>),
  );
}