Map<String, Object?> toJson() { var boardName = this.boardName; final json = <String, Object?>{}; if (boardName != null) { json[r'boardName'] = boardName; } return json; }