InAppProductModel class

Annotations
  • @JsonSerializable(ignoreUnannotated: true)

Constructors

InAppProductModel.new({String? uid, DocumentSnapshot<Object?>? snapshot, double? createdAt, double? updatedAt, required InAppProductType type, required String? productIdentifier, required double? referencePrice, required double? pDollars, required String? name, required String? description, required Map<String, dynamic> metaData})
InAppProductModel.fromDocumentSnapshot(DocumentSnapshot<Map<String, dynamic>> snapshot)
Connect the generated _$InAppProductModelFromJson function to the fromJson factory.
factory
InAppProductModel.fromJson(Map<String, dynamic> json)
Connect the generated _$InAppProductModelFromJson function to the fromJson factory.
factory

Properties

createdAt double?
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
metaData Map<String, dynamic>
final
name String?
final
pDollars double?
final
productIdentifier String?
final
referencePrice double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshot ↔ DocumentSnapshot<Object?>?
getter/setter pair
type InAppProductType
final
uid String?
getter/setter pair
updatedAt double?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Connect the generated _$InAppProductModelToJson function to the toJson method.
toString() String
A string representation of this object.
inherited

Operators

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