create static method
PushMessageContentRecurringPayment
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "pushMessageContentRecurringPayment",
- String special_return_type = "pushMessageContent",
- String? amount,
override
Generate By General Universe Script Dont edit by hand or anything manual
Implementation
static PushMessageContentRecurringPayment create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "pushMessageContentRecurringPayment",
String special_return_type = "pushMessageContent",
String? amount,
}) {
// PushMessageContentRecurringPayment pushMessageContentRecurringPayment = PushMessageContentRecurringPayment({
final Map pushMessageContentRecurringPayment_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"amount": amount,
};
pushMessageContentRecurringPayment_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (pushMessageContentRecurringPayment_data_create_json.containsKey(key) == false) {
pushMessageContentRecurringPayment_data_create_json[key] = value;
}
});
}
return PushMessageContentRecurringPayment(pushMessageContentRecurringPayment_data_create_json);
}