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