Input$LandingPagesTranslationContentInput.fromJson constructor

Input$LandingPagesTranslationContentInput.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$LandingPagesTranslationContentInput.fromJson(
    Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  final l$pageTitle = data['pageTitle'];
  result$data['pageTitle'] = (l$pageTitle as String);
  final l$pageDescription = data['pageDescription'];
  result$data['pageDescription'] = (l$pageDescription as String);
  final l$sectionData = data['sectionData'];
  result$data['sectionData'] = (l$sectionData as List<dynamic>)
      .map((e) =>
          Input$LandingPagesDataInput.fromJson((e as Map<String, dynamic>)))
      .toList();
  return Input$LandingPagesTranslationContentInput._(result$data);
}