Page.fromMap constructor
Implementation
factory Page.fromMap(Map<String, dynamic> data) => Page(
name: data['name'] as String?,
key: data['key'] as String?,
hasNavigation: data['has_navigation'] as bool?,
pageId: data['page_id'] as String?,
pageType: data['page_type'] as String?,
initialComponent: data['initial_component'] == null
? null
: Component.fromMap(
data['initial_component'] as Map<String, dynamic>),
child: data['child'] == null
? null
: Component.fromMap(data['child'] as Map<String, dynamic>));