create static method
PageBlockVerticalAlignment
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "pageBlockVerticalAlignment",
- bool special_is_json_scheme_class = true,
- String special_return_type = "pageBlockVerticalAlignment",
- PageBlockVerticalAlignmentTop? page_block_vertical_alignment_top,
- PageBlockVerticalAlignmentMiddle? page_block_vertical_alignment_middle,
- PageBlockVerticalAlignmentBottom? page_block_vertical_alignment_bottom,
override
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
static PageBlockVerticalAlignment create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "pageBlockVerticalAlignment",
bool special_is_json_scheme_class = true,
String special_return_type = "pageBlockVerticalAlignment",
PageBlockVerticalAlignmentTop? page_block_vertical_alignment_top,
PageBlockVerticalAlignmentMiddle? page_block_vertical_alignment_middle,
PageBlockVerticalAlignmentBottom? page_block_vertical_alignment_bottom,
}) {
// PageBlockVerticalAlignment pageBlockVerticalAlignment = PageBlockVerticalAlignment({
final Map pageBlockVerticalAlignment_data_create_json = {
"@type": special_type,
"@is_json_scheme_class": special_is_json_scheme_class,
"@return_type": special_return_type,
"page_block_vertical_alignment_top": (page_block_vertical_alignment_top != null) ? page_block_vertical_alignment_top.toJson() : null,
"page_block_vertical_alignment_middle": (page_block_vertical_alignment_middle != null) ? page_block_vertical_alignment_middle.toJson() : null,
"page_block_vertical_alignment_bottom": (page_block_vertical_alignment_bottom != null) ? page_block_vertical_alignment_bottom.toJson() : null,
};
pageBlockVerticalAlignment_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (pageBlockVerticalAlignment_data_create_json.containsKey(key) == false) {
pageBlockVerticalAlignment_data_create_json[key] = value;
}
});
}
return PageBlockVerticalAlignment(pageBlockVerticalAlignment_data_create_json);
}