nonBlank function

String? nonBlank(
  1. String? input
)

Implementation

String? nonBlank(String? input) {
  if (input?.trim().isNotEmpty != true) return null;
  return input;
}