DeployIndexResponse.fromJson constructor

DeployIndexResponse.fromJson(
  1. Object? j
)

Implementation

factory DeployIndexResponse.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return DeployIndexResponse(
    deployedIndex: switch (json['deployedIndex']) {
      null => null,
      Object $1 => DeployedIndex.fromJson($1),
    },
  );
}