Parent.page constructor
const
Parent.page({
- required String id,
Constructor for page parent.
This constructor require the page id
.
Implementation
const Parent.page({required this.id}) : this.type = ParentType.Page;