hasColor property
bool
hasColor
Does the image have any color channels?
Implementation
bool get hasColor => red != null || green != null || blue != null;
Does the image have any color channels?
bool get hasColor => red != null || green != null || blue != null;