call method

String? call(
  1. String? text
)

Implementation

String? call(String? text) {
  if (text == null) return message;
  String s = trim ? text.trim() : text;
  if (s.isEmpty) return message;
  return null;
}