operator == method
Compare this source to another. Subclasses must override this, so that different instances of equivalent sources give true. This avoids unnecessary rebuilding of ScalableImage objects.
Implementation
@override
bool operator ==(Object other) {
throw StateError('Must be overridden by subclasses');
}