GetNavigationHistoryResult.fromJson constructor
Implementation
factory GetNavigationHistoryResult.fromJson(Map<String, dynamic> json) {
return GetNavigationHistoryResult(
currentIndex: json['currentIndex'] as int,
entries: (json['entries'] as List)
.map((e) => NavigationEntry.fromJson(e as Map<String, dynamic>))
.toList(),
);
}