Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit eb5ccfb

Browse files
committed
Use annotations
1 parent f679fcd commit eb5ccfb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/purchase_wrapper.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,8 @@ class PurchaseWrapper {
105105
final String signature;
106106

107107
/// The product ID of this purchase.
108-
///
109-
/// This property is deprecated. Use `skus` instead.
110108
@JsonKey(defaultValue: '')
109+
@Deprecated('Use skus instead')
111110
final String sku;
112111

113112
/// The product IDs of this purchase.
@@ -209,9 +208,8 @@ class PurchaseHistoryRecordWrapper {
209208
final String signature;
210209

211210
/// The product ID of this purchase.
212-
///
213-
/// This property is deprecated. Use `skus` instead.
214211
@JsonKey(defaultValue: '')
212+
@Deprecated('Use skus instead')
215213
final String sku;
216214

217215
/// The product ID of this purchase.

0 commit comments

Comments
 (0)