PlanPrice.fromMap constructor

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

Implementation

factory PlanPrice.fromMap(Map<String, dynamic> map) {
  return PlanPrice(
    createdAt: map['created_at'],
    currency: map['currency'],
    id: map['id'],
    planId: map['plan_id'],
    updatedAt: map['updated_at'],
    valueCents: map['value_cents'],
  );
}