stringNullNotEmpty static method
Implementation
static String? stringNullNotEmpty(
String? string, {
String msg = 'Informe um valor ou deixe vazio.',
}) =>
string == null || string.isNotEmpty ? null : msg;
static String? stringNullNotEmpty(
String? string, {
String msg = 'Informe um valor ou deixe vazio.',
}) =>
string == null || string.isNotEmpty ? null : msg;