isValid property
bool
get
isValid
Check if this frame has valid data
Implementation
bool get isValid =>
originalBytes.isNotEmpty &&
segmentationMask.isNotEmpty &&
width > 0 &&
height > 0;
Check if this frame has valid data
bool get isValid =>
originalBytes.isNotEmpty &&
segmentationMask.isNotEmpty &&
width > 0 &&
height > 0;