Find up-to-date documentation for the prefer_is_empty linter rule at https://dart.dev/lints/prefer_is_empty.
prefer_is_empty