hashCode property

  1. @override
int hashCode
override

Compute the hash code for this source. Subclasses must override this, so that different instances of equivalent sources give the same hash code. This will avoid unnecessary rebuilding of ScalableImage objects.

Implementation

@override
int get hashCode {
  throw StateError('Must be overridden by subclasses');
  // I really mean it :-)
}