DescribeIndexResponse.fromJson constructor

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

Implementation

factory DescribeIndexResponse.fromJson(Map<String, dynamic> json) {
  return DescribeIndexResponse(
    indexName: json['indexName'] as String?,
    indexStatus: (json['indexStatus'] as String?)?.toIndexStatus(),
    schema: json['schema'] as String?,
  );
}