DeployedIndexRef.fromJson constructor

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

Implementation

factory DeployedIndexRef.fromJson(Map<String, dynamic> json) {
  return DeployedIndexRef(
    indexEndpoint: json['indexEndpoint'] ?? '',
    deployedIndexId: json['deployedIndexId'] ?? '',
    displayName: json['displayName'] ?? '',
  );
}