isValid property
      
      bool
      get
      isValid
      
    
    
Is true if the image is valid and has data.
Implementation
bool get isValid => data != null && width > 0 && height > 0;Is true if the image is valid and has data.
bool get isValid => data != null && width > 0 && height > 0;