isNull function

  1. @Deprecated('Use str == null || str.isEmpty instead.')
bool isNull(
  1. String? str
)

Returns true if str is null or empty.

Deprecated: prefer str == null || str.isEmpty or the isBlank extension.

Implementation

@Deprecated('Use str == null || str.isEmpty instead.')
bool isNull(String? str) => str == null || str.isEmpty;