create static method
PageBlockSlideshow
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "pageBlockSlideshow",
- String special_return_type = "pageBlock",
- List<
PageBlock> ? page_blocks, - PageBlockCaption? caption,
override
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
static PageBlockSlideshow create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "pageBlockSlideshow",
String special_return_type = "pageBlock",
List<PageBlock>? page_blocks,
PageBlockCaption? caption,
}) {
// PageBlockSlideshow pageBlockSlideshow = PageBlockSlideshow({
final Map pageBlockSlideshow_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"page_blocks": (page_blocks != null) ? page_blocks.toJson() : null,
"caption": (caption != null) ? caption.toJson() : null,
};
pageBlockSlideshow_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (pageBlockSlideshow_data_create_json.containsKey(key) == false) {
pageBlockSlideshow_data_create_json[key] = value;
}
});
}
return PageBlockSlideshow(pageBlockSlideshow_data_create_json);
}