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