PurchaseSubscriptionModel constructor
const
PurchaseSubscriptionModel({})
Model for storing subscription data for billing purposes.
You can retrieve a collection or document by passing collection and document, respectively.
課金用のサブスクリプションデータを保存するためのモデル。
collectionとdocumentをそれぞれ渡すことによりコレクションやドキュメントを取得することができます。
Implementation
const factory PurchaseSubscriptionModel({
@Default(true) bool expired,
String? token,
String? platform,
String? productId,
String? purchaseId,
String? packageName,
int? expiredTime,
String? orderId,
required String userId,
}) = _PurchaseSubscriptionModel;