addTexture method
Implementation
void addTexture(Texture texture) {
textures
..removeWhere((element) => element.name == texture.name)
..add(texture);
}
void addTexture(Texture texture) {
textures
..removeWhere((element) => element.name == texture.name)
..add(texture);
}