MutateDeployedIndexOperationMetadata.fromJson constructor

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

Implementation

factory MutateDeployedIndexOperationMetadata.fromJson(
  Map<String, dynamic> json,
) {
  return MutateDeployedIndexOperationMetadata(
    genericMetadata: decode(
      json['genericMetadata'],
      GenericOperationMetadata.fromJson,
    ),
    deployedIndexId: json['deployedIndexId'] ?? '',
  );
}