copyWith method
Implementation
Entitlement copyWith({
String? id,
bool? active,
String? expiresAt,
String? productId,
}) =>
Entitlement(
id: id ?? this.id,
active: active ?? this.active,
expiresAt: expiresAt ?? this.expiresAt,
productId: productId ?? this.productId,
);