create static method
UpdateLlamaLibraryMessage
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "updateLlamaLibraryMessage",
- bool? is_done,
- String? text,
- String special_extra = "",
override
Generated By General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
Implementation
static UpdateLlamaLibraryMessage create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "updateLlamaLibraryMessage",
bool? is_done,
String? text,
String special_extra = "",
}) {
// UpdateLlamaLibraryMessage updateLlamaLibraryMessage = UpdateLlamaLibraryMessage({
final Map updateLlamaLibraryMessage_data_create_json = {
"@type": special_type,
"is_done": is_done,
"text": text,
"@extra": special_extra,
};
updateLlamaLibraryMessage_data_create_json
.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (updateLlamaLibraryMessage_data_create_json.containsKey(key) ==
false) {
updateLlamaLibraryMessage_data_create_json[key] = value;
}
});
}
return UpdateLlamaLibraryMessage(
updateLlamaLibraryMessage_data_create_json);
}