isNoValue function

bool isNoValue(
  1. Object? value
)

Whether the value is empty for LIVR: missing (null) or an empty string. All rules except required, not_empty and not_empty_list skip empty values.

Implementation

bool isNoValue(Object? value) =>
    value == null || (value is String && value.isEmpty);