how to define condition for list = null in flutter code example
Example: dart filter by attribute
_AnimatedMovies = AllMovies.where((i) => i.isAnimated).toList();
_AnimatedMovies = AllMovies.where((i) => i.isAnimated).toList();