factory RouteStatus.fromJson(Map<String, dynamic> json) { return RouteStatus( status: (json['status'] as String).toRouteStatusCode(), ); }