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