create static method
GeneralFrameworkDocumentation
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "generalFrameworkDocumentation",
- String? logo,
- String? title,
- String? description,
- String? content,
- List<
String> ? author_url_social_medias, - List<
GeneralFrameworkDocumentationDocumentation> ? documentations,
override
Generated
Implementation
static GeneralFrameworkDocumentation create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "generalFrameworkDocumentation",
String? logo,
String? title,
String? description,
String? content,
List<String>? author_url_social_medias,
List<GeneralFrameworkDocumentationDocumentation>? documentations,
GeneralFrameworkDocumentationFooter? footer,
}) {
// GeneralFrameworkDocumentation generalFrameworkDocumentation = GeneralFrameworkDocumentation({
final Map generalFrameworkDocumentation_data_create_json = {
"@type": special_type,
"logo": logo,
"title": title,
"description": description,
"content": content,
"author_url_social_medias": author_url_social_medias,
"documentations":
(documentations != null) ? documentations.toJson() : null,
"footer": (footer != null) ? footer.toJson() : null,
};
generalFrameworkDocumentation_data_create_json
.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (generalFrameworkDocumentation_data_create_json.containsKey(key) ==
false) {
generalFrameworkDocumentation_data_create_json[key] = value;
}
});
}
return GeneralFrameworkDocumentation(
generalFrameworkDocumentation_data_create_json);
}