string static method
Parses SVG markup you already have as a string.
Cached by the markup itself, so this is safe to call from build().
Implementation
static MorphIconData string(
String svg, {
bool fit = true,
double grid = 24,
}) => _parse(_key('str', svg, fit, grid), svg, fit, grid);