$UikProductPageInformationContainerPropsFromJson function
Implementation
UikProductPageInformationContainerProps
$UikProductPageInformationContainerPropsFromJson(
Map<String, dynamic> json) {
final UikProductPageInformationContainerProps
uikProductPageInformationContainerProps =
UikProductPageInformationContainerProps();
final String? id = jsonConvert.convert<String>(json['id']);
if (id != null) {
uikProductPageInformationContainerProps.id = id;
}
final double? reviews = jsonConvert.convert<double>(json['reviews']);
if (reviews != null) {
uikProductPageInformationContainerProps.reviews = reviews;
}
final double? questionsAndAnswers =
jsonConvert.convert<double>(json['questionsAndAnswers']);
if (questionsAndAnswers != null) {
uikProductPageInformationContainerProps.questionsAndAnswers =
questionsAndAnswers;
}
final UikAction? action = jsonConvert.convert<UikAction>(json['action']);
if (action != null) {
uikProductPageInformationContainerProps.action = action;
}
return uikProductPageInformationContainerProps;
}