putItem method

Future<Response<BaseModel>> putItem(
  1. BaseModel item,
  2. String id
)

Implementation

Future<Response<BaseModel>> putItem(BaseModel item, String id) async =>
    await put('$itemUrl/$id/', item);