copyWith method

FDXNotificationPayload copyWith({
  1. String? id,
  2. FDXNotificationPayloadIdType? idType,
  3. FDXFiAttribute? customFields,
})

Implementation

FDXNotificationPayload copyWith(
    {String? id,
    enums.FDXNotificationPayloadIdType? idType,
    FDXFiAttribute? customFields}) {
  return FDXNotificationPayload(
      id: id ?? this.id,
      idType: idType ?? this.idType,
      customFields: customFields ?? this.customFields);
}