Map<String, dynamic> toMap() { return { 'path': path, 'row': position.y, 'column': position.x, 'width': size.x, 'height': size.y, }; }