create static method
OptionValueString
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "optionValueString",
- String special_return_type = "optionValue",
- String? value,
override
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
static OptionValueString create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "optionValueString",
String special_return_type = "optionValue",
String? value,
}) {
// OptionValueString optionValueString = OptionValueString({
final Map optionValueString_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"value": value,
};
optionValueString_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (optionValueString_data_create_json.containsKey(key) == false) {
optionValueString_data_create_json[key] = value;
}
});
}
return OptionValueString(optionValueString_data_create_json);
}