Future<PlanModel> put(String id, PlanModel model) async { var result = await apiResource.put(id: id, data: model.toMap()); return PlanModel.fromMap(result); }