factory NavigationContext.fromJson(Map<String, dynamic>? json) { return NavigationContext(json?['value'], json?['path']); }