core.Map<core.String, core.dynamic> toJson() => { if (lastUpdated != null) 'lastUpdated': lastUpdated!, if (routeConfig != null) 'routeConfig': routeConfig!, };