toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'pages': pages?.map((e) => e.toMap()).toList(),
      'theme_id': themeId,
      'name': name,
      'colors': colors?.toMap(),
      'selected_page_id': selectedPageId,
    };