TileSprite.fromMap constructor
Implementation
factory TileSprite.fromMap(Map<String, dynamic> map) {
return TileSprite(
path: map['path'],
position: Vector2(map['column'], map['row']),
size: Vector2(map['width'], map['height']),
);
}