PlanFeature.fromMap constructor

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

Implementation

factory PlanFeature.fromMap(Map<String, dynamic> map) {
  return PlanFeature(
    createdAt: map['created_at'],
    id: map['id'],
    identifier: map['identifier'],
    important: map['important'],
    name: map['name'],
    planId: map['plan_id'],
    position: map['position'],
    updatedAt: map['updated_at'],
    value: map['value'],
  );
}