updateMaxSize method

void updateMaxSize(
  1. int maxSize
)

Updates the maximum allowed size for the image.

Implementation

void updateMaxSize(int maxSize) => _maxSize = maxSize;