operator == method
Needed for getTiledImages in TileMap; Images are equal if their source is equal.
Implementation
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is TiledImage &&
runtimeType == other.runtimeType &&
source == other.source;