Map<String, dynamic> toMap() { return { 'name': name, 'perPageWidth': perPageWidth, 'perPageHeight': perPageHeight, 'pageCount': pageCount, }; }