copyWith method
SubscriptionEntity
copyWith(
{ - String? id,
- String? epaycoId,
- String? epaycoUserId,
- String? epaycoTokenCard,
- String? planIdFk,
- String? pseId,
- String? suscriptionIdFk,
- String? organizationUidFk,
- String? userOwnerUidFk,
- DateTime? startDate,
- DateTime? endDate,
})
Implementation
SubscriptionEntity copyWith({
String? id,
String? epaycoId,
String? epaycoUserId,
String? epaycoTokenCard,
String? planIdFk,
String? pseId,
String? suscriptionIdFk,
String? organizationUidFk,
String? userOwnerUidFk,
DateTime? startDate,
DateTime? endDate,
}) =>
SubscriptionEntity(
id: id ?? this.id,
epaycoId: epaycoId ?? this.epaycoId,
epaycoUserId: epaycoUserId ?? this.epaycoUserId,
epaycoTokenCard: epaycoTokenCard ?? this.epaycoTokenCard,
planIdFk: planIdFk ?? this.planIdFk,
pseId: pseId ?? this.pseId,
suscriptionIdFk: suscriptionIdFk ?? this.suscriptionIdFk,
organizationUidFk: organizationUidFk ?? this.organizationUidFk,
userOwnerUidFk: userOwnerUidFk ?? this.userOwnerUidFk,
startDate: startDate ?? this.startDate,
endDate: endDate ?? this.endDate,
);