Product class

Constructors

Product({required String id, required String name, required String desc, required double price, required String localPrice, required String type, required String rawJson, required String periodUnit, required int periodValue, required String period, required String introOffer, required String introPeriod, required bool hasTrial})
Product.fromMap(Map<String, dynamic> map)
factory

Properties

desc String
final
hashCode int
The hash code for this object.
no setterinherited
hasTrial bool
final
id String
final
introOffer String
final
introPeriod String
final
localPrice String
final
name String
final
period String
final
periodUnit String
final
periodValue int
final
price double
final
rawJson String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final

Methods

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

Operators

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