toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'name': name,
      'has_navigation': hasNavigation,
      'page_id': pageId,
      'key': key,
      'page_type': pageType,
      'initial_component': initialComponent?.toMap(),
      'child': child?.toMap(),
    };