nullIfEmpty property
      
      List<T> ?
      get
      nullIfEmpty
      
    
    
Returns null if the List is empty, otherwise returns the List.
Implementation
List<T>? get nullIfEmpty {
  return isEmpty ? null : this;
}
Returns null if the List is empty, otherwise returns the List.
List<T>? get nullIfEmpty {
  return isEmpty ? null : this;
}