DeployedIndexRef.fromJson constructor
DeployedIndexRef.fromJson(
- Object? j
Implementation
factory DeployedIndexRef.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return DeployedIndexRef(
indexEndpoint: switch (json['indexEndpoint']) {
null => '',
Object $1 => decodeString($1),
},
deployedIndexId: switch (json['deployedIndexId']) {
null => '',
Object $1 => decodeString($1),
},
displayName: switch (json['displayName']) {
null => '',
Object $1 => decodeString($1),
},
);
}