toJson method
Implementation
Map<String, dynamic> toJson() => {
'label': label,
'href': href,
'exact': exact,
'id': id,
'className': className,
'iconHtml': iconHtml,
'show': show,
'hide': hide,
'children': JsonConverters.toJson(children, 'List<NavItem>', context!),
'meta': meta
};