create static method
JsonValueArray
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "jsonValueArray",
- String special_return_type = "jsonValue",
- List<
JsonValue> ? values,
override
Generate By General Universe Script Dont edit by hand or anything manual
Implementation
static JsonValueArray create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "jsonValueArray",
String special_return_type = "jsonValue",
List<JsonValue>? values,
}) {
// JsonValueArray jsonValueArray = JsonValueArray({
final Map jsonValueArray_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"values": (values != null) ? values.toJson() : null,
};
jsonValueArray_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (jsonValueArray_data_create_json.containsKey(key) == false) {
jsonValueArray_data_create_json[key] = value;
}
});
}
return JsonValueArray(jsonValueArray_data_create_json);
}