put method

Future<PlanModel> put(
  1. String id,
  2. PlanModel model
)

Implementation

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