RetrieveLandingPage.fromJson constructor
Implementation
RetrieveLandingPage.fromJson(Map<String, dynamic> json) {
sId = json['_id'];
title = json['title'];
if (json['contents'] != null) {
contents = <Contents>[];
json['contents'].forEach((v) {
contents!.add(new Contents.fromJson(v));
});
}
sTypename = json['__typename'];
}