windDir2icon function
- WindDirection? wd
Implementation
Widget windDir2icon(WindDirection? wd) => wd != null
? WindIcon.fromString(
'towards_${windDir2string(wd)!.toLowerCase().replaceAll('o', 'e')}',
fallback: WindIcon.from_ne)
: WindIcon(
degree: 4,
);