NavigationEntry.fromJson constructor

NavigationEntry.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory NavigationEntry.fromJson(Map<String, dynamic> json) {
  return NavigationEntry(
    id: json['id'] as int,
    url: json['url'] as String,
    userTypedURL: json['userTypedURL'] as String,
    title: json['title'] as String,
    transitionType: TransitionType.fromJson(json['transitionType'] as String),
  );
}