Applies transform only if non-null and non-blank.
transform
String? mapNotBlank(String Function(String) transform) { final s = orNull; return s != null ? transform(s) : null; }