create method
Create an entity Usage:
var result = await service.createOne(data);
Implementation
Future<T> create(T item, {String? callRole}) {
String formattedPath = _crud.formatPathFromParts(
[_crud.baseUrl, callRole ?? _crud.requestRole, _crud.path],
);
return _crud.post(formattedPath, item);
}