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.
15 lines
329 B
15 lines
329 B
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'region.dart';
|
|
|
|
part 'region_converter.g.dart';
|
|
|
|
@JsonSerializable(createFactory: false)
|
|
class RegionConverter {
|
|
final Region region;
|
|
|
|
const RegionConverter(this.region);
|
|
|
|
@JsonKey(ignore: true)
|
|
String get value => _$RegionConverterToJson(this)['region'];
|
|
}
|
|
|