SubscriptionSubitem.fromMap constructor

SubscriptionSubitem.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory SubscriptionSubitem.fromMap(Map<String, dynamic> map) {
  return SubscriptionSubitem(
    id: map['id'],
    description: map['description'],
    quantity: map['quantity'],
    priceCents: map['price_cents'],
    price: map['price'],
    total: map['total'],
    recurrent: map['recurrent'],
    destroy: map['_destroy'],
  );
}