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