Unofficial Dart implementation of Deutsche Bahn’s construction site API https://pub.dev/packages/db_construction_site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
db_construction_site/lib/src/models/region.dart

55 lines
970 B

import 'package:json_annotation/json_annotation.dart';
enum Region {
/// Lower Saxony and Bremen
@JsonValue("niedersachen-bremen")
lowerSaxonyBremen,
/// Schleswig Holstein
@JsonValue("norden")
north,
/// Mecklenburg Western Pomerania
@JsonValue("mvp")
mecklenburgWesternPomerania,
/// Berlin and Brandenburg
@JsonValue("berlin-bb")
berlinBrandenburg,
/// Saxony-Anhalt
@JsonValue("sachsen-anhalt")
saxonyAnhalt,
/// Saxony
@JsonValue("sachsen")
saxony,
/// Bavaria
@JsonValue("bayern")
bavaria,
/// Thuringia
@JsonValue("thueringen")
thuringia,
/// Baden-Württemberg
@JsonValue("baden-w")
badenWuerttemberg,
/// Rhineland Palatinate
@JsonValue("rheinland-pfalz")
rhinelandPalatinate,
/// Hesse
@JsonValue("hessen")
hesse,
/// Northrhine-Westphalia
@JsonValue("nrw")
northrhineWestphalia,
/// Long distance trains with multiple regions
@JsonValue("fernverkehr")
longDistance,
}