mode property
String?
mode
Get which value should be used for coloring paint.
Implementation
String? get mode {
if (ringGradients != null) {
return 'ringGradients';
} else if (ringColors != null) {
return 'ringColors';
} else if (ringGradient != null) {
return 'ringGradient';
} else if (ringColor != null) {
return 'ringCOlor';
} else {
return null;
}
}