decodePaintintStyle function
Implementation
PaintingStyle decodePaintintStyle(String name) {
switch (name) {
case 'stroke':
return .stroke;
case 'fill':
default:
return .fill;
}
}
PaintingStyle decodePaintintStyle(String name) {
switch (name) {
case 'stroke':
return .stroke;
case 'fill':
default:
return .fill;
}
}