copyWithWrapped method
FDXNotificationPayload
copyWithWrapped({
- Wrapped<
String?> ? id, - Wrapped<
FDXNotificationPayloadIdType?> ? idType, - Wrapped<
FDXFiAttribute?> ? customFields,
Implementation
FDXNotificationPayload copyWithWrapped(
{Wrapped<String?>? id,
Wrapped<enums.FDXNotificationPayloadIdType?>? idType,
Wrapped<FDXFiAttribute?>? customFields}) {
return FDXNotificationPayload(
id: (id != null ? id.value : this.id),
idType: (idType != null ? idType.value : this.idType),
customFields:
(customFields != null ? customFields.value : this.customFields));
}