PurchasePlanModel class

Annotations
  • @freezed

Constructors

PurchasePlanModel({required String id, String? offerId, required String title, required String description, required String price, double? rawPrice, required String currencyCode, @Default('') String currencySymbol, @Default([]) List<String> offerTags, String? offerIdToken, @Default([]) List<PricingPhaseWrapper> pricingPhases})
Creates a new product details object with the provided details.
const
factory
PurchasePlanModel.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $PurchasePlanModelCopyWith<PurchasePlanModel>
no setterinherited
currencyCode String
no setterinherited
currencySymbol String
no setterinherited
description String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
offerId String?
no setterinherited
offerIdToken String?
no setterinherited
offerTags List<String>
no setterinherited
price String
no setterinherited
pricingPhases List<PricingPhaseWrapper>
no setterinherited
productDetails ProductDetails
no setter
rawPrice double?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited