getIconUri method
Implementation
String? getIconUri(TypeAlert? type) {
switch (type) {
case TypeAlert.success:
return widget.successImage ?? null;
case TypeAlert.warning:
return widget.warningImage ?? null;
case TypeAlert.error:
return widget.errorImage ?? null;
default:
return null;
}
}