Parent.page constructor

const Parent.page({
  1. required String id,
})

Constructor for page parent.

This constructor require the page id.

Implementation

const Parent.page({required this.id}) : this.type = ParentType.Page;