Entitlement.fromMap constructor
Entitlement.fromMap(
- Map map
Implementation
factory Entitlement.fromMap(Map<dynamic, dynamic> map) {
return Entitlement(
productId: map['productId'] ?? '',
store: map['store'] ?? '',
status: map['status'] ?? '',
expiresAt: map['expiresAt'],
isTrial: map['isTrial'] ?? false,
offerType: map['offerType'],
);
}