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