update method
Implementation
Future<T> update(T entity) async {
return _dio
.post(url("update"), data: entity.toJSON())
.then((response) => response.body<T>());
}
Future<T> update(T entity) async {
return _dio
.post(url("update"), data: entity.toJSON())
.then((response) => response.body<T>());
}