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