Loading FSlateBrush from DataTable

I have a project which is loading inventory items described in a data table. Currently in the data table I have an FString such as “texture://Game/UI/gui/items/hat-baseball.hat-baseball” which I can currently load with:

FSlateBrush *b = new FSlateImageBrush(stringForTexture, FVector2D(96.f, 96.f), FLinearColor(1.f, 1.f, 1.f, 1.f),
ESlateBrushTileType::NoTile, ESlateBrushImageType::FullColor);

But this is generating deprecation warnings:

LogSlate:Warning: The texture:// method of loading UTextures for use in Slate is deprecated. Please convert texture://Game/UI/gui/items/first-aid.first-aid to a Brush Asset

However, I don’t see any clear way to do this with the new style. I’ve tried to put an FSlateBrush in the DataTable but creating an brush and pointing the data table at it doesn’t seem to work. Is there any documentation on the syntax for storing the various objects in a DataTable?

Alternatively I could load the brush in C++ but I could not find an example of loading a brush asset created in the editor.