ElasticsearchAction.fromJson constructor

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

Implementation

factory ElasticsearchAction.fromJson(Map<String, dynamic> json) {
  return ElasticsearchAction(
    endpoint: json['endpoint'] as String,
    id: json['id'] as String,
    index: json['index'] as String,
    roleArn: json['roleArn'] as String,
    type: json['type'] as String,
  );
}