Map<String, dynamic> toMap() { return BoardTileMapper.ensureInitialized() .encodeMap<BoardTile>(this as BoardTile); }